views:

377

answers:

2

It's possible to create digrams in SQL Server 2000 that can be useful to show the relationships between tables. The problem we run into is that when somebody refreshes our development database, the diagrams get lost. We can load tables, stored procedures, views, etc. with SQL scripts, but we have to create the diagrams by hand.

Is there a way to script out the diagrams? Or can they be saved outside of the database some other way?

+3  A: 

It can be done for SQL Server 2005 - see here.

And info. on SQL Server 2000 - here.

Galwegian
+1  A: 

If you have Visio you can use the "Reverse Engineer" to diagram the DB.

craigmoliver