Use the latest version of SQL Server Management Studio to create a Database Diagram.
Entity Relationship Diagram
I have a work database that I restored in the 2017 MS SQL Server Management Studio. Unfortunately, it doesnt have an Entity Relationship Diagram - how the tables are linked. Is there a way I can get the diagram from the restored database? Currently, no one at my work place knows how the tables linked. Or even a way which can help me better understand the tables faster??
3 answers
Sort by: Most helpful
-
-
CathyJi-MSFT 21,096 Reputation points Microsoft Vendor
2020-11-26T02:19:12.667+00:00 Hi @Ordeal Dube ,
You can use SSMS 18.7.1 and follow the steps from below blog to create ER diagram.
SQL Server Database Diagram Tool in Management Studio
How to create ER diagram for existing SQL Server database with SSMSBest regards,
Cathy
If the response is helpful, please click "Accept Answer" and upvote it.
-
Tom Phillips 17,716 Reputation points
2020-11-25T20:51:07.567+00:00 Database diagrams will only help you if the tables have FKs setup between the tables. Otherwise, there is no way to programmatically determine the relationships.