Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having a problem with RAISERROR WITH Log

Status
Not open for further replies.

SQLBill

MIS
May 29, 2001
7,777
US
SQL Server 2000 SP4.

I have a developer who is trying to modify a stored procedure on the development server. He gets the error:
Only members of the sysadmin role can specify the WITH LOG option for the RAISERROR statement.

We aren't going to give him sysadmin role permissions for any reason, but especially not just so he can work on one stored proc. I have searched for that error message and read up on RAISERROR. No where have I been able to find anything stating a person needs sysadmin role to use WITH LOG option.

The stored proc works fine on the production box (I copied it from prod to dev) and the login that calls it has the same permissions as the developer has to the copy on the dev box.

Why is this error coming up?
Why does a user need to have sysadmin role to use WITH LOG?
Is there any way to use WITH LOG and NOT have sysadmin?

-SQLBill

The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top