Skip to content Skip to sidebar Skip to footer

Visual Studio 2017 Er Diagram

Database Diagram – Available Again in SQL Server Management Studio 18.1 Onwards

Related Posts

12 Comments. Leave new

  • I found 18.0 to be unusably buggy. Between the indefinite hang when you try to restore a database and select a *.bak file, to tabs failing to redraw properly when you clicked between tabs with the mouse, it was just too dangerous and unusable. I have no faith either of these huge massive problems are fixed in 18.1. I recommend people stay on 17.9

    Reply
    • Pinal Dave

      June 14, 2019 12:08 am

      … and that may not be bad advice.

      Reply
  • For a quick look at an individual table and to see everything connected to that table via foreign keys, I used database diagram.

    Reply
  • EFClaiborne

    July 26, 2019 6:29 pm

    Honestly, I've never used a 3rd Party tool for database diagrams, so I don't know if there's anything better than SSMS for this. I use SSMS Diagrams extensively to visually construct the relationships and I'm able to "see" the database this way. And I also use the diagrams to show users how the back-end data is related. It's a critical tool that allows me to build a solid database. About a year ago, the bosses wanted to move away from all the Microsoft products and go with Open Source "free" products. I argued that SSMS and Visual Studio gave me all the great development tools I needed WITHOUT having to buy a hodgepodge of 3rd party dev tools. And then I heard the news that Diagrams were being discontinued — I was livid. So I never updated past v17.9.1 and I am now this morning getting an upgrade notification. I was happy to find your blog on this topic. Thank you – I read lots you for posts!

    Reply
  • I use database diagrams for EVERY project that I work on as it is a great tool that automatically can make changes to the tables/relationships/keys/etc (in dev) and then I can generate the script changes.

    I didn't upgrade SSMS when I heard they were removing it.
    I'm glad I found this blog post so I can finally upgrade.

    Thanks! Much appreciated

    Reply
  • Yes, SSMS 18.4 has DB Diagram support but it crashes when person one 1 created diagram and person 2 tries to open it in that tool. And that is not fixed since v 18.1 How about that?!

    Reply
  • manit chanthavong

    February 24, 2020 11:06 am

    Still very buggy in 18.4. it's a disappoint the same bugs still exists.

    Reply
  • Warren Pitallo

    May 22, 2020 11:39 pm

    What the better question is: What crackhead decided to remove it and why? They must be on Oracles paylist

    Reply
  • This is still an issue in 18.5.1 – would like to see a fix of this!

    Reply
  • EFClaiborne

    June 15, 2020 6:11 pm

    I commented on this back on 7/26/19, so this is an update. Because of the diagram removal, I've been using v17.9.1 since last year. And since last year I've also been dealing with a memory leak issue (different problem) when working with T-SQL and large sprocs with many nested calls. The memory leak had something to do with Intellisense and it would lock up SSMS. So I've been turning off Intellisense when working in certain sprocs to cope with it, which reduces productivity. About two weeks ago, I found that v18.5 (15.0.18330.0) had resolved the memory leak, so I installed and have been using. I have my diagrams back now and the Intellisense is working a lot better. However…., now when I open certain diagrams to review or make a change, SSMS is crashing! I'm pretty sure it has a lot to do with something related to me making a column or key change to one of the tables. These changes aren't that new. I've been working on a greenfield db project for over a year now and change/test/improve are part of the cycle. But now the diagrams are crashing SSMS. This is terrible when I forgot to hit the save button on an open tab! I wish SSMS would just remove the table if something couldn't be resolved. Now I'm actually considering paying for a 3rd Party SQL dev tool. So far I have seen dbSourceForge and RedGate but not even sure if RegGate handles diagrams. Is anyone else seeing the same issue on 18.5?

    Reply
  • Brenda Woods

    July 13, 2020 11:29 pm

    Same issues for me with 18.5. Extremely buggy and crashes. I'm also looking at a 3rd party tool.

    Reply
  • This is probably old news, but Database Diagrams were broken in versions 18.1 – 18.5. Saving a DD in those versions would corrupt the diagram and your would be no longer able to open it in any version of SSMS. This was fixed in version 18.6, but I'm not sure if you can do anything to recover the corrupt diagrams.

    Reply

Leave a Reply Cancel reply

Pinal Dave is an SQL Server Performance Tuning Expert and independent consultant with over 17 years of hands-on experience. He holds a Masters of Science degree and numerous database certifications.

Pinal has authored 13 SQL Server database books and 40 Pluralsight courses. To freely share his knowledge and help others build their expertise, Pinal has also written more than 5,500 database tech articles on his blog at https://blog.sqlauthority.com.

Pinal is an experienced and dedicated professional with a deep commitment to flawless customer service. If you need help with any SQL Server Performance Tuning Issues, please feel free to reach out at pinal@sqlauthority.com.

Pinal is also a CrossFit Level 1 Trainer (CF-L1) and CrossFit Level 2 Trainer (CF-L2).


Nupur Dave is a social media enthusiast and an independent consultant. She primarily focuses on the database domain, helping clients build short and long term multi-channel campaigns to drive leads for their sales pipeline.


Exclusive Newsletter

Comprehensive Database Performance Health Check

Is your SQL Server running slow and you want to speed it up without sharing server credentials? In my Comprehensive Database Performance Health Check, we can work together remotely and resolve your biggest performance troublemakers in less than 4 hours.

Once you learn my business secrets, you will fix the majority of problems in the future.


SQL Server Performance Tuning Practical Workshop

Have you ever opened any PowerPoint deck when you face SQL Server Performance Tuning emergencies? SQL Server Performance Tuning Practical Workshop is my MOST popular training with no PowerPoint presentations and 100% practical demonstrations.

Essentially I share my business secrets to optimize SQL Server performance.

Source: https://blog.sqlauthority.com/2019/06/13/database-diagram-available-again-in-sql-server-management-studio-18-1-onwards/

Posted by: aldoguardiane0194497.blogspot.com

Post a Comment for "Visual Studio 2017 Er Diagram"