Set Up Database Diagram Designer (Visual Database Tools)
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 2005 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
Tasks
Upgrade Database Diagrams from Previous Editions (Visual Database Tools)
Reference
ALTER AUTHORIZATION (Transact-SQL)
Concepts
Understand Database Diagram Ownership (Visual Database Tools)