[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

want to see how tables are linked

Posted on 2009-12-21
10
Medium Priority
?
163 Views
Last Modified: 2012-05-08
using sql server 2005 enterprise
is there a tool (graphical preferred) where i can see how tables are connected

http://static.rbytes.net/fullsize_screenshots/s/q/sql-diagrams.jpg

0
Comment
Question by:rgb192
  • 5
  • 5
10 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 26100201
you can create a diagram in sql server management studio
right click on diagrams -> new diagram -> add the tables and it will draw a nice diagram like the one you showed
0
 

Author Comment

by:rgb192
ID: 26100510
in ssms for sql server 2005 enterprise
cant find 'diagram(s)'
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 26100625
you have to explore the yourdatabase on object explorer
see the database diagrams under the selected option in the following picture http://www.pinaldave.com/blogfolder/collation.gif
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:rgb192
ID: 26100791
this is 'database properties'
cant find 'diagram(s)'
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 26100904
you forgot the attachment
0
 

Author Comment

by:rgb192
ID: 26101808
http://www.pinaldave.com/blogfolder/collation.gif

this is 'database properties'
cant find 'diagram(s)'
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 26105598
just under the  selected "Adventure works" you can see "Database Dia"
0
 

Author Comment

by:rgb192
ID: 26116353
clicked 'database diagram'

and got this error


TITLE: Microsoft SQL Server Management Studio
------------------------------

Database diagram support objects cannot be installed because this database does not have a valid owner.  To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.

------------------------------
BUTTONS:

OK
------------------------------
0
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 2000 total points
ID: 26120648
run this from master database

ALTER AUTHORIZATION ON DATABASE::PutYourDatabaseNameHere TO sa
0
 

Author Closing Comment

by:rgb192
ID: 31668743
thanks
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question