all groups > sql server (alternate) > october 2003 >
You're in the

sql server (alternate)

group:

Protecting EM database diagrams



Protecting EM database diagrams Chloe Crowder
10/30/2003 9:06:16 AM
sql server (alternate): Hi

does anyone know of a way of giving developers read only access to a
database diagram in Enterprise Manager (SQL Server 2000). The database was
supplied by a third party and we don't want them tinkering with it, but
they do need to be able to create additional tables etc. to extend the
functionality of the package.

TIA

Chloe Crowder

Re: Protecting EM database diagrams jbellnewsposts NO[at]SPAM hotmail.com
10/31/2003 12:29:31 AM
Hi

I guess changing the permissions on dtproperties may do this, but I
don't know what side effects that may have.

My preference is to reverse engineer the database into Visio and then
save it as a HTML document. This can then be put on the intranet for
all to see.

John

[quoted text, click to view]
Re: Protecting EM database diagrams sql NO[at]SPAM hayes.ch
10/31/2003 6:10:34 AM
[quoted text, click to view]

It's not completely clear from what you say, but I suspect that you're
really asking how to allow developers to create new tables without
modifying or dropping existing ones. The diagram is just an interface
- changing the diagram doesn't automatically change the database,
unless you generate and run the SQL scripts required to apply the
changes (as far as I know - it's not a tool I use myself).

If that guess is correct, then the best solution is probably to allow
the developers to work in a separate development/test database, and
have a DBA script and deploy the tables/procs etc. when they are
tested and ready for production. Alternatively, you could grant CREATE
TABLE to the developers, but then you will have objects owned by
several different people (instead of always dbo), and that would be
very awkward to work with.

AddThis Social Bookmark Button