dbTalk Databases Forums  

setting relationships through the enterprise manager

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss setting relationships through the enterprise manager in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shay
 
Posts: n/a

Default setting relationships through the enterprise manager - 11-19-2009 , 05:48 PM






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.

Reply With Quote
  #2  
Old   
Shay
 
Posts: n/a

Default Re: setting relationships through the enterprise manager - 11-19-2009 , 05:49 PM






On Nov 19, 2:48*pm, Shay <shay.bucha... (AT) gmail (DOT) com> wrote:
Quote:
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.
It might help to note that I'm in SQL Server 7.0

Shay B.

Reply With Quote
  #3  
Old   
Uri Dimant
 
Posts: n/a

Default Re: setting relationships through the enterprise manager - 11-20-2009 , 03:57 AM



Shay , shalom

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

"Shay" <shay.buchanan (AT) gmail (DOT) com> wrote

On Nov 19, 2:48 pm, Shay <shay.bucha... (AT) gmail (DOT) com> wrote:
Quote:
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.
It might help to note that I'm in SQL Server 7.0

Shay B.

Reply With Quote
  #4  
Old   
Sylvain Lafontaine
 
Posts: n/a

Default Re: setting relationships through the enterprise manager - 11-20-2009 , 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)


"Shay" <shay.buchanan (AT) gmail (DOT) com> wrote

Quote:
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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.