Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Relational Diagrams


Relational Diagrams

Author
Message
hb21l6
hb21l6
SSC Journeyman
SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)

Group: General Forum Members
Points: 96 Visits: 294
just wondering...

why do so many large software development companies not bother with relational Diagrams in their SQL server DBs'?

For instance, there are a number of SQL DB systems ( including Microsofts ) that I'm currently reviewing, and non of them have Relational Diagrams added to them. their table structures are normalised but there is nothing inforcing the fact.

Any ideas?

cheers
Dave
Greg Charles
Greg Charles
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4351 Visits: 5853
I can't speak for all companies, but we use a separate CASE tool that has a data repository for logical modeling. We want something that is independent of SQL Server because we have systems on more than just that database platform.

Some of our developers use SQL Server database diagrams for documentation, but they still must maintain their logical designs in the CASE tool.

Greg

Greg
Chris Campbell-415954
Chris Campbell-415954
Say Hey Kid
Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)

Group: General Forum Members
Points: 706 Visits: 258
Documentation is superfluous. The code is obvious.

Wink
Key DBA
Key DBA
Mr or Mrs. 500
Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)

Group: General Forum Members
Points: 587 Visits: 655
In my experience, most companies DO have ERD diagrams/documentation for their database applications, but that information can be considered proprietary information and is not generally given to customers.

Another possibility is that the referential integrity of an application can be completely contained within the application code, and NOT in the database itself. In this type of situation there are literally no Primary Key/Foreign Key relationships within the database.

"Key"
MCITP: DBA, MCSE, MCTS: SQL 2005, OCP
hb21l6
hb21l6
SSC Journeyman
SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)SSC Journeyman (96 reputation)

Group: General Forum Members
Points: 96 Visits: 294
yeah, I guess all the constraints can be done within the application.
but to help or even stop end line users from making a mash of the database structure, i would see this as an invaluable tool.

e.g. I have a few databases, and I'd like to tap into them to drag out data for reporting, mabe even make life easier by writing data back to tables for imports, modifications etc. The use of the Diagram is Ideal for looking up references to find tables etc..

oh well... just have to keep spitting nails and working through them slowly

thanks for all your replys...

Dave
Key DBA
Key DBA
Mr or Mrs. 500
Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)Mr or Mrs. 500 (587 reputation)

Group: General Forum Members
Points: 587 Visits: 655
hb,

With our vendor supported applications that we are not able to get an ERD from, I use Visio Professional 2007 for reverse engineering a database.

I wrote a tutorial in another thread this week at:

Topic: Domains and Schemas
http://www.sqlservercentral.com/Forums/Topic428540-359-2.aspx#bm428845

Best of Luck!

"Key"
MCITP: DBA, MCSE, MCTS: SQL 2005, OCP
Chris Campbell-415954
Chris Campbell-415954
Say Hey Kid
Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)Say Hey Kid (706 reputation)

Group: General Forum Members
Points: 706 Visits: 258
Assuming the tables are already related with foreign keys, you can create a new diagram in SQL Management Studio and simply add all of the tables in the database. The relationships will be automatically drawn in for you.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search