|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, January 30, 2013 10:57 AM
Points: 28,
Visits: 173
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 3:02 AM
Points: 235,
Visits: 560
|
|
In SqlServer2000 I used the Database Diagram for documentation. I divided the Database (120 tables) in four diagrams (each the size of a single page A4) on the 4 subjects of the db (customers, employees, bookings, internet). I copy-pasted (printscreen) in in a Word document and had a low cost superb solution.
But then came 2005 and the captions (table name)came in a new big bold font. And it needed an empty line at the bottom (or you get a scrollbar which makes the table ugly and more width). And it didn't fit on a page any more. So 2005 blew up my documentation
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, May 21, 2009 12:31 AM
Points: 4,
Visits: 7
|
|
Hi,
Figure 6 is incorrect, you do not have to create the script and then return to the database model. You need to turn off the validation that SQL Management Studio has built in for changes that require a table to be recreated.
The option is available at Tools | Options | Designers | Prevent saving changes that require table re-create.
Regards, Mark P Ashworth http://www.connext.co.za
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, August 13, 2009 3:35 AM
Points: 1,
Visits: 10
|
|
I didn't understand the purpose of this article. These things existed in the last century as well
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Monday, November 05, 2012 7:45 AM
Points: 426,
Visits: 215
|
|
nice naming convention on your tables
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 6:25 AM
Points: 1,366,
Visits: 289
|
|
As far as export, you can also use one of last century's commands to get a file copy of your diagram: bcp MY_DB..sysdiagrams out MY_DIAGRAM.bcp -c -T -S SERVERNAME
Then you can restore the db all you want and then bcp the diagram back in when needed. Yes, I know, there are other more modern methods. Just throwing this out there.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 10:22 PM
Points: 358,
Visits: 393
|
|
| I gave this article a good score - I don't know why it is getting bashed in the ratings (only an average of 2 when I voted). The English is well written and it covers most of the basics of the diagram tool. I already knew all of the material (I always use the diagram tool) but I'm going to assign my intro database students to read this next semester along with the other articles they get assigned.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 12:03 PM
Points: 1,563,
Visits: 1,718
|
|
| I like the database diagraming tools within SQL Server, however I learned not to use them because they are tied to intimately with the database. In 2005, I built up elaborate diagrams of each schema of the system I work on, but then when it came time to do an entire database refresh into our dev environment from the test environment, I couldn't find a way to export the diagrams out of the database in a way that could be imported back in later after the refresh (refresh was a backup and restore of test database). Does anyone know if they've solved this issue or found a way that I've missed? Untill then, I'll stick with outside tools to do my documentation and diagraming.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, December 21, 2012 6:44 AM
Points: 26,
Visits: 133
|
|
| I stopped using the DD because when visualizing the DB and you link or make a change to the diagram it actually makes the change in the DB tables. What I have been looking for is a tool like this to use for documentation, and the actual foreign keys and linkages are done programmatically through views/SP/Scripts. Problem with Visio is our version will not read 2005 let alone 2008.
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 12:07 PM
Points: 31,431,
Visits: 13,741
|
|
|
|
|