How to generate Entity Relationship (ER) Diagram of a database using Microsoft SQL Server Management Studio?

后端 未结 4 399
挽巷
挽巷 2021-01-30 15:45

I want to generate ER diagram of SQL database using Microsoft SQL Server Management Studio however, I dont know how to.

I found this technique online http://forums.asp.

相关标签:
4条回答
  • 2021-01-30 16:27

    0 讨论(0)
  • 2021-01-30 16:41
    1. Go to Sql Server Management Studio >
    2. Object Explorer >
    3. Databases >
    4. Choose and expand your Database.
    5. Under your database right click on "Database Diagrams" and select "New Database Diagram".
    6. It will a open a new window. Choose tables to include in ER-Diagram (to select multiple tables press "ctrl" or "shift" button and select tables).
    7. Click add.
    8. Wait for it to complete. Done!!

    You can save generated diagram for future use.

    0 讨论(0)
  • 2021-01-30 16:45

    From Object Explorer in SQL Server Management Studio, find your database and expand the node (click on the + sign beside your database). The first item from that expanded tree is Database Diagrams. Right-click on that and you'll see various tasks including creating a new database diagram. If you've never created one before, it'll ask if you want to install the components for creating diagrams. Click yes then proceed.

    0 讨论(0)
  • 2021-01-30 16:49

    As of Oct 2019, SQL Server Management Studio, they did not upgraded the SSMS to add create ER Diagram feature.

    I would suggest try using DBWeaver from here :

    https://dbeaver.io/download/

    I am using Mac and Windows both and I was able to download the community edition and logged into my SQL server database and was able to create the ER diagram using the DB Weaver.

    0 讨论(0)
提交回复
热议问题