Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setting relationships through the enterprise manager

0 views
Skip to first unread message

Shay

unread,
Nov 19, 2009, 5:48:05 PM11/19/09
to
I've very new to SQL Server and the Enterprise Manager. Can anyone
point me to how to set up the relationships between the tables, and
denoting which are the foreign keys?

I'm coming from an Access 2k background, it that makes a difference.

Regards,

Shay B.

Shay

unread,
Nov 19, 2009, 5:49:25 PM11/19/09
to

It might help to note that I'm in SQL Server 7.0

Shay B.

Uri Dimant

unread,
Nov 20, 2009, 3:57:14 AM11/20/09
to
Shay , shalom

You can use Enterprise Manager (diagram) folder to set relationship between
tables or write a script in query analiyzer

"Shay" <shay.b...@gmail.com> wrote in message
news:83e93f17-a39c-4af4...@j19g2000yqk.googlegroups.com...

Sylvain Lafontaine

unread,
Nov 20, 2009, 11:28:48 AM11/20/09
to
To do that graphically, you must create one or more a DIAGRAM. Insert the
tables that you want on the Diagram and you can then etablish your
relationships graphically. When inserting one or more tables onto the
Diagram, the EM should show you the existing relationships that has been
created using scripts.

Learning how to do that with a script (that you could run in the Query
Analyser for example) would also be a good idea.

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Blog/web site: http://coding-paparazzi.sylvainlafontaine.com
Independent consultant and remote programming for Access and SQL-Server
(French)


"Shay" <shay.b...@gmail.com> wrote in message

news:8ad68e2f-6ebb-4b77...@j24g2000yqa.googlegroups.com...

0 new messages