Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 cannot execute stored procedure

Author  Topic 

espanolanthony
Starting Member

9 Posts

Posted - 2009-09-23 : 16:57:25
i have a user that has been granted database roles as db_datareader, db_datawriter, db_ddladmin. but when he tries to run or modify the store procedures in the database he cannot. I don't know what might be the ssue. please help if any idea. may be its an error number 229 i guess.

espanolanthony
Starting Member

9 Posts

Posted - 2009-09-23 : 17:05:38
please help on this issue friends.
Go to Top of Page

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2009-09-23 : 17:30:36
you either need to add them to db_owner or sysadmin (which you shouldn't do if unless they actually function as those roles)
or GRANT EXEC on <your SP> TO <that user> or a role the user belongs to.

Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -