SQL Server
(1)
Foreign
(1)
ShalomYou
(1)
Analyser
(1)
Windows
(1)
Analiyzer
(1)
Etablish
(1)
Shalom
(1)

setting relationships through the enterprise manager

Asked By Shay
20-Nov-09 12:17 AM
I have 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 am coming from an Access 2k background, it that makes a difference.

Regards,

Shay B.

It might help to note that I am in SQL Server 7.0Shay B.

Shay replied to Shay
20-Nov-09 12:17 AM
It might help to note that I am in SQL Server 7.0

Shay B.

Shay , shalomYou can use Enterprise Manager (diagram) folder to set

Uri Dimant replied to Shay
20-Nov-09 03:57 AM
Shay , shalom

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


It might help to note that I am in SQL Server 7.0

Shay B.

To do that graphically, you must create one or more a DIAGRAM.

Sylvain Lafontaine replied to Shay
20-Nov-09 11:28 AM
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)
Post Question To EggHeadCafe