Re: EXECUTE Permissions and Cross Database
- From: "David Browne" <davidbaxterbrowne no potted meat@xxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 11:22:10 -0500
"Micky McQuade" <javamick@xxxxxxxxx> wrote in message
news:1153144180.968800.32910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have an odd situation. Here are the details:
- I have three databases (A, B, C).
- I have a user that has EXECUTE and SELECT permissions on each
database.
- I have a stored procedure in A and B that does an update in C at one
point
- The stored procedure works fine from database A, but from database B,
it gives me the following UPDATE error: UPDATE permission denied on
object 'MyTable', database 'C', schema 'dbo'
- No dynamic SQL is used
- The database owners are the same as well as the table and stored
procedure owners
Can anyone help guide me on this?
Is the login executing the procedure the same in both cases? The login must
have access to database C.
David
.
- Follow-Ups:
- Re: EXECUTE Permissions and Cross Database
- From: MickyM
- Re: EXECUTE Permissions and Cross Database
- References:
- EXECUTE Permissions and Cross Database
- From: Micky McQuade
- EXECUTE Permissions and Cross Database
- Prev by Date: Re: EXECUTE Permissions and Cross Database
- Next by Date: Re: Limiting a user to only executing a stored only that access an
- Previous by thread: Re: EXECUTE Permissions and Cross Database
- Next by thread: Re: EXECUTE Permissions and Cross Database
- Index(es):
Relevant Pages
|