Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Analytics Platform System (PDW)
To use Database Diagram Designer, it must first be set up by a member of the db_owner role to control access to diagrams.
Set up database diagramming
From Object Explorer, expand a database node.
Expand the Database Diagrams node under the database connection.
Select Yes when prompted if you want to set up database diagramming.
Note
This step creates the database diagram table, system stored procedures, and a system function on the SQL Server database.
Visual Studio creates the following objects on the instance of SQL Server:
sysdiagramstablesp_alterdiagramstored proceduresp_creatediagramstored proceduresp_dropdiagramstored proceduresp_renamediagramstored procedurefn_diagramobjectsfunctionsp_helpdiagramsstored proceduresp_helpdiagramsdefinitionstored proceduresp_upgraddiagramsstored procedure