September 22, 2009 at 7:03 am
Can someone with db_owner rights (only) script out a stored procedure?
September 22, 2009 at 7:10 am
Yes on that database only, although you can look at stored procedure with lower rights, if they can run select statements against the syscomments table.
--------------------------------------------------------------------------------------
[highlight]Recommended Articles on How to help us help you and[/highlight]
[highlight]solve commonly asked questions[/highlight]
Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden[/url]
Managing Transaction Logs by Gail Shaw[/url]
How to post Performance problems by Gail Shaw[/url]
Help, my database is corrupt. Now what? by Gail Shaw[/url]
September 22, 2009 at 7:13 am
yes.
as db_owner, you own every object in the database; you can read/write, as well as create/alter/drop all the objects...
db_owner is a powerful role so it's like having db_datareader,db_datawriter and ddl_admin, but with even more rights than those roles would give.
did you think it was a minor role that just tagged a user to the database?
Lowell
September 22, 2009 at 7:40 am
No, the user was complaining that they could not script...I told them they had the rights to...
Thanks guys..
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply