Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Relational Diagrams Expand / Collapse
Author
Message
Posted Wednesday, December 05, 2007 2:04 AM


SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Monday, March 10, 2014 10:47 AM
Points: 81, Visits: 280
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
Post #429673
Posted Wednesday, December 05, 2007 9:15 AM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Friday, April 18, 2014 8:32 AM
Points: 4,056, Visits: 5,182
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
Post #429831
Posted Thursday, December 06, 2007 7:20 AM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Friday, August 10, 2012 8:25 AM
Points: 704, Visits: 257
Documentation is superfluous. The code is obvious.

;)
Post #430177
Posted Thursday, December 06, 2007 7:27 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, February 26, 2009 3:02 PM
Points: 515, 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
Post #430180
Posted Thursday, December 06, 2007 9:28 AM


SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Monday, March 10, 2014 10:47 AM
Points: 81, Visits: 280
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
Post #430280
Posted Thursday, December 06, 2007 10:56 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, February 26, 2009 3:02 PM
Points: 515, 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
Post #430325
Posted Thursday, December 06, 2007 11:24 AM
Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Friday, August 10, 2012 8:25 AM
Points: 704, Visits: 257
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.
Post #430349
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse