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:
sysdiagrams
tablesp_alterdiagram
stored proceduresp_creatediagram
stored proceduresp_dropdiagram
stored proceduresp_renamediagram
stored procedurefn_diagramobjects
functionsp_helpdiagrams
stored proceduresp_helpdiagramsdefinition
stored proceduresp_upgraddiagrams
stored procedure