SQL Server 2000 (8.0.2039)
I need to grant execute permissions on a stored procedure that updates a table to a user that does not have update permissions on the table the sproc updates. I can't get this working.
I use
grant execute on dbo.sprocname to username
and get UPDATE permission denied on object.
The funny, or not so funny thing, is that I've done this before on an insert sproc and it works fine. I've compared the two and can find no difference on the user or sproc permission between the one that works and the one that doesn't. I have spent several hours on this seemingly simple task so far.
What the heck am I missing?
Thanks,
Craig
I need to grant execute permissions on a stored procedure that updates a table to a user that does not have update permissions on the table the sproc updates. I can't get this working.
I use
grant execute on dbo.sprocname to username
and get UPDATE permission denied on object.
The funny, or not so funny thing, is that I've done this before on an insert sproc and it works fine. I've compared the two and can find no difference on the user or sproc permission between the one that works and the one that doesn't. I have spent several hours on this seemingly simple task so far.
What the heck am I missing?
Thanks,
Craig