If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Domain model

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-12, 09:24
Breako Breako is offline
Registered User
 
Join Date: Jan 2006
Posts: 119
Domain model

HI,
I am on a new project and just trying to get my head around the domain model. Has anyone any good tips for how I could get all the foreign keys in a schema quickly?

Or, is there any tool which will show me a visual version of my schema? Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-03-12, 11:31
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
I strongly recommend SQL Spec for this kind of "discovery" and for other purposes as well. The author of SQL Spec is an old friend of mine who stops by DBForums occasionally as Jezzemine.

SQL Spec can generate documentation files from many ODBC/OLEDB database formats. This documentation can be presented as web pages, or in many cases as a simple click-able help file.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #3 (permalink)  
Old 01-05-12, 12:13
Breako Breako is offline
Registered User
 
Join Date: Jan 2006
Posts: 119
Thanks Pat. I ended up using SqlServer's Database Diagrams.
Reply With Quote
  #4 (permalink)  
Old 01-05-12, 12:46
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
That will work. I'm biased because the developer of SQL Spec pays close attention to the user's needs, so it has literally evolved to suit my needs in many cases.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On