Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I update a database Diagram in Microsoft SQL Server Management Studio

I currently have the database diagram window open in Microsoft Server Management Studio 2014. Is there a way to "refresh" the view so that I can see a newly added foreign key constraint?

like image 482
Jolley71717 Avatar asked Nov 16 '16 17:11

Jolley71717


People also ask

How do I open the database diagram in SQL Server Management Studio?

To open a database diagramDouble-click the name of the database diagram you want to open. Right-click the name of the database diagram you want to open, and then choose Design Database Diagram.

How do I update SQL Server Management Studio database?

To upgrade the management studio to the latest version, navigate to Microsoft docs and download the SSMS setup file. If you want to upgrade to a specific version, you can navigate the link and download the respective version file. Click on the Save file in the pop-up window shown below.

How do I create a database diagram in Microsoft SQL Server Management Studio?

To create a new database diagramIn Object Explorer, right-click the Database Diagrams folder or any diagram in that folder. Choose New Database Diagram on the shortcut menu. The Add Table dialog box appears. Select the required tables in the Tables list and click Add.


1 Answers

It looks like the best way is to right click on the diagram and choose "remove table from diagram". Then right click in the white space and choose "Add Table". It will then show newly created relationships.

like image 93
Jolley71717 Avatar answered Oct 20 '22 11:10

Jolley71717