﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Wagner Crivelini  / Database Modeling and Diagrams with SQL Server 2008 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 07:09:42 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>You have a diagram of the involved tables in View Designer.</description><pubDate>Wed, 27 Jan 2010 16:38:26 GMT</pubDate><dc:creator>Revenant</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Can you get the data diagran to use views</description><pubDate>Wed, 27 Jan 2010 16:03:21 GMT</pubDate><dc:creator>ingham.r</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Iam connecting to a remote sql server database and when I right click on Database Diagrams I don't get the Create Diagram option. Is it possible that they have disabled the creation of Diagrams from within Management Studio.PS Iam using Sql Server 2008 (Enterprise) Management Studio.</description><pubDate>Mon, 06 Jul 2009 07:20:05 GMT</pubDate><dc:creator>adenjones</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Congratulations!!!I mean to the Author of the article Wagner Crevelini, which he has the same last name that I Am of the Argentinean republic and my grandfathers have to me counted who are relatives in the United States, distant cousins perhaps.¶Good, greeting kindly and thanks to share your knowledge.¶It salutes kindly, a friend of the south.:-D</description><pubDate>Fri, 22 May 2009 06:30:43 GMT</pubDate><dc:creator>Ariel Wagner</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Now the DD print is nice. But I also want to print Data Dictionary. I have defined the extended property "Description" for each table. I also entered the Description for each table column. How can I export/print these table/column descriptions to a nice Data Dictionary document?</description><pubDate>Wed, 20 May 2009 11:58:39 GMT</pubDate><dc:creator>sbright-613196</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Cdunn, thanks for the info!  I'll have to check that out.</description><pubDate>Wed, 20 May 2009 11:26:46 GMT</pubDate><dc:creator>Chris Harshman</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Another handy way to export diagrams from any version of SQL Server is to "print" to a PDF, using a  tool such as PDFCreator ([url]http://sourceforge.net/projects/pdfcreator/[/url]).</description><pubDate>Wed, 20 May 2009 10:45:13 GMT</pubDate><dc:creator>Josh Grant</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>@ChrisHarshman It is possible to 'export' the Database Diagram "data" to survive rebuilds or apply to different instances. I first found a script to do that back on SQL Server 2000, which I updated myself for 2005 and then 2008.[b]ScriptDiagram2005[/b][url]http://www.codeproject.com/KB/database/ScriptDiagram2005.aspx[/url][b]ScriptDiagram2008[/b][url]http://conceptdevelopment.net/Database/ScriptDiagram2008/[/url]We are doing continuous integration with our database (using RedGate) and use the above to save each Diagram to a file and re-create each time the database is "built from scripts".Note that the diagram data contains 'pointers' to your schema objects -- if you re-create a Diagram on a database instance that is missing some of the tables then they naturally disappear from the diagram (this has occasionally confused people using these scripts).</description><pubDate>Tue, 19 May 2009 17:04:26 GMT</pubDate><dc:creator>cdunn-906001</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Thanks!!! It helps.</description><pubDate>Tue, 19 May 2009 16:16:11 GMT</pubDate><dc:creator>sbright-613196</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Printing Tip for DDs:Use Page setup to change the page size to A3.  Show the page breaks and clean up the diagram.  Then shrink print to A4.  Still readable and much more information per page.</description><pubDate>Tue, 19 May 2009 15:35:30 GMT</pubDate><dc:creator>AntonDeski</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Anybody knows how to use smaller font in DB Diagram so that I can fit more tables in 1 printed page?</description><pubDate>Tue, 19 May 2009 13:04:44 GMT</pubDate><dc:creator>sbright-613196</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>It's a good article only if it states at the very beginning:Do NOT try this in the production environment !!!!!Once you make a mistake, it will be reflected in the production database. Get your resume ready:-P</description><pubDate>Tue, 19 May 2009 12:12:42 GMT</pubDate><dc:creator>mojo-168709</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>I hear you on the advantage of linking for the physical model - otherwise its out of date before its done.   However, that means its not really a modeling tool.   That's why the third party products are needed; so that you can work with the logical and conceptual models and not be tied to the physical too early.In the end, it has to be implemented as a physical model, of course, and that's where it's good to get back the "truth".By the way, the article itself is very nice and useful.   I'd had some trouble navigating around it before, so for using the tool itself, the article is a big help.</description><pubDate>Tue, 19 May 2009 10:46:35 GMT</pubDate><dc:creator>Roger L Reid</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>The article covers the diagram feature well. I got an email with the subject line "Database Modeling and Diagrams with SQL Server 2008". It led me to think this article will talk about new features in SQL Server 2008. Most of the features covered in the article were already there in earlier versions. This article does not clearly indicate which features are propriety to SQL 2008 only.I missed Steve's comment..."Not everyone has been using SQL Server for more than one version. We get new people all the time and publish articles to help all levels of users."In light of that, I think it was fair for the author to title it as he thought was proper.</description><pubDate>Tue, 19 May 2009 08:46:06 GMT</pubDate><dc:creator>Rajib Bahar</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>One reason why they are poorly used (aside from the primary one - no one designs databases anymore, folks just throw a bunch of tables together) is that, for anyone working at the level that requires real modeling work, MS's feature is too restrictive.   I don't want to use one tool for SQL Server, another for ASE, and another for Oracle; to my firm, it's all 'the database'.   It may be better now, but also MS tends to limit choices of representation in tools like this, and then drop support as they run to the next marketing term.   The best example is the (former) support for database modeling in Visio: MS would let you download modules to do this in the previous release, but they don't work in the newest Visio, and they have no plans to make it work.   That's why, to get serious about modelling and documentation in a non-trivial environment, you're out there looking at third party products.</description><pubDate>Tue, 19 May 2009 08:17:14 GMT</pubDate><dc:creator>Roger L Reid</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Where I work DD is used a lot by the other developers, so everyone but me as I very much dislike it. The problems I have with it are:1. It does modifications directly to the DB and in doing so recreates whole tables and relationships. This argument is not exclusively related to DD, but to any table modifications you do via the interface. In my view none of it is designed to be used extensivly on a filled database.The problem is compounded when you need to move changes from the development to a test or production environment. Suddenly you need an database comparison tool as there have been no modification scripts made along the way. This also makes it hard to do partial updates.Also, when I design a new (sub)-model, I want to be able to drop everything and recreate from scratch in the blink of an eye. This is very easy when you work from scripts or a tool that supports you in maintaining and updating those, but very hard with any direct action UI. 2. DD hides details that are very important for the quality of the modeling. I want to see at a glance what indexes there are, what fields are covered by them and any other relevant parameter that influences performance.To have this kind of information in a consumable fashion I really need a create script that is compact and shows you these details in a declarative and well formatted form. This also helps me to keep an up to date modification script that can be directly applied to the target environment.3. Organizing and printing is a pain for anything but the smallest of (sub-) models. I have used full blown modeling packages in the past such as Power Designer (Data architect module) from Sybase and its predecessor S-Designer. They are very expensive, but did work very well for me as you can model and do versioning, independent of the database and can generate update scripts between modeled versions automatically. It also features well functioning reverse engineer functionality which comes into its own when you are confronted with a database for the first time.Just my 2c</description><pubDate>Tue, 19 May 2009 08:02:58 GMT</pubDate><dc:creator>peter-757102</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>I like the article - it gives a clear rundown on the pros and cons of the simple built in diagramer, which I have found very handy.The fact that the diagrams are tied to the actual system can be an advantage.a) It encourages the use of referential integrityb) There can be no "stale" diagramsI always try to use referential integrity and set NOCHECK if the actual checking gets in the way.The ref integrity constraints make for an instant diagram and also the relationships can be checked at some point by DBCC CHECKCONSTRAINTS. This is great for ETL processing where you may blow away the records in a lookup table and replace them later. At the end of all processing run DBCC CHECKCONSTRAINTS to see if any constraints are violated.</description><pubDate>Tue, 19 May 2009 07:57:40 GMT</pubDate><dc:creator>Renato Buda-153382</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>The designer is nice, but limited.  I recommend modeling every aspect of your project using a dedicated design tool (I use PowerDesigner) once you have generated the DB the Designer is really good at tuning things.</description><pubDate>Tue, 19 May 2009 07:47:11 GMT</pubDate><dc:creator>randy-719186</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>[quote][b]Parag Mehta (5/19/2009)[/b][hr]I didn't understand the purpose of this article. These things existed in the last century as well :-)[/quote]Not everyone has been using SQL Server for more than one version. We get new people all the time and publish articles to help all levels of users.</description><pubDate>Tue, 19 May 2009 07:45:44 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>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.</description><pubDate>Tue, 19 May 2009 07:13:07 GMT</pubDate><dc:creator>Stephen.Richardson</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>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.</description><pubDate>Tue, 19 May 2009 07:12:25 GMT</pubDate><dc:creator>Chris Harshman</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>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.</description><pubDate>Tue, 19 May 2009 07:05:12 GMT</pubDate><dc:creator>magarity kerns</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>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 SERVERNAMEThen 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.</description><pubDate>Tue, 19 May 2009 05:55:16 GMT</pubDate><dc:creator>Victor Kirkpatrick</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>nice naming convention on your tables :-P</description><pubDate>Tue, 19 May 2009 03:05:30 GMT</pubDate><dc:creator>si_downes</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>I didn't understand the purpose of this article. These things existed in the last century as well :-)</description><pubDate>Tue, 19 May 2009 02:26:00 GMT</pubDate><dc:creator>Parag Mehta</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>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 Ashworthhttp://www.connext.co.za</description><pubDate>Tue, 19 May 2009 01:00:24 GMT</pubDate><dc:creator>Mark Ashworth</dc:creator></item><item><title>RE: Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>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 :crazy:</description><pubDate>Tue, 19 May 2009 00:56:45 GMT</pubDate><dc:creator>Henk Schreij</dc:creator></item><item><title>Database Modeling and Diagrams with SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic719533-1448-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/diagrams/66528/"&gt;Database Modeling and Diagrams with SQL Server 2008&lt;/A&gt;[/B]</description><pubDate>Mon, 18 May 2009 22:35:53 GMT</pubDate><dc:creator>wagner crivelini</dc:creator></item></channel></rss>