SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 How best to view table relationships
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

richardlaw
Yak Posting Veteran

United Kingdom
63 Posts

Posted - 01/16/2009 :  11:37:09  Show Profile  Visit richardlaw's Homepage  Reply with Quote
Hi

I'm fairly new to MS SQL 2005. I've now got a database up and running with a number of tables and views each with relationships.

Is there a visual tool I can used to see a high level view of what tables I have and how they are related?

Many thanks
Richard

Richard Law

visakh16
Very Important crosS Applying yaK Herder

India
47189 Posts

Posted - 01/16/2009 :  12:13:02  Show Profile  Reply with Quote
In SQL Mgmnt studio, you can expand your database and tables to see all tables in explorer on left side. then you can click database diagrams and select new db diagram. then window opens up where you can drag and drop the tables. right click and select show relationships,then you can see relationships between tables.
Go to Top of Page

sodeep
Flowing Fount of Yak Knowledge

USA
7173 Posts

Posted - 01/16/2009 :  14:55:24  Show Profile  Reply with Quote
You can use sp_depends for views and SP.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.48 seconds. Powered By: Snitz Forums 2000