且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Microsoft SQL Server Management Studio生成数据库的实体关系(ER)图?

更新时间:2022-11-25 09:30:02

  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.