Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database diagrams


Database diagrams

Author
Message
river1
river1
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1056 Visits: 1361
Hi,

Every time i try to do a database diagram i receive an error massage that says the following:

This database does not have one or more of the supporte objects require to use database diagram.
Do you want to install them?



What database objects are this? i don't know if i can install them or not....

Thank you
Greg Charles
Greg Charles
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4388 Visits: 5858
The objects are dbo.sysdiagrams, dbo.upgraddiagrams, dbo.helpdiagrams, dbo.helpdiagramdefinition,dbo.sp_creatediagram, dbo.sp_renamediagram, dbo.sp_alterdiagram, and dbo.sp_dropdiagram.

They're created when a member of syadmin or a member of db_owner answers yes to the install question. If you're a member of one of the aforementioned roles, you can create them.

Greg
river1
river1
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1056 Visits: 1361
Thank you Greg.

AFTER you responde yes (if you are member of sysadmim or DB_onwer), then people can start create Diagramms because the objects are created.


1- Where are the objects created? are they all created in the Master database? or are they created in the User database where i reply with a yes?


2- AFTER a member of the sysadmin or DB_owner responde yes, who can create diagramms? only persons belonging to this two roles?


Thank you.
Greg Charles
Greg Charles
SSCarpal Tunnel
SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)SSCarpal Tunnel (4.4K reputation)

Group: General Forum Members
Points: 4388 Visits: 5858
1- The objects are created in the current database, not master.
2- Any user with access to the database can create a diagram.

In addition, the diagram is only viewable by it's creator and by members of sysadmin and db_owner.

This is all documented in BOL under "diagrams [SQL Server]".

Greg
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search