Set Up Database Diagram Designer (Visual Database Tools)
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.
To 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 will create the database diagram table, system stored procedures, and a system function on the SQL Server database.
Visual Studio will create the following objects on the instance of SQL Server:
sysdiagrams table
sp_alterdiagram stored procedure
sp_creatediagram stored procedure
sp_dropdiagram stored procedure
sp_renamediagram stored procedure
fn_diagramobjects function
sp_helpdiagrams stored procedure
sp_helpdiagramsdefinition stored procedure
sp_upgraddiagrams stored procedure
See Also
Understand Database Diagram Ownership (Visual Database Tools)
Upgrade Database Diagrams from Previous Editions (Visual Database Tools)
ALTER AUTHORIZATION (Transact-SQL)