Re: EXECUTE Permissions and Cross Database
- From: "MickyM" <javamick@xxxxxxxxx>
- Date: 17 Jul 2006 11:28:15 -0700
Yes, the login is the same in both cases.
Micky
David Browne wrote:
"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
.
- References:
- EXECUTE Permissions and Cross Database
- From: Micky McQuade
- Re: EXECUTE Permissions and Cross Database
- From: David Browne
- EXECUTE Permissions and Cross Database
- Prev by Date: Re: Limiting a user to only executing a stored only that access an
- Next by Date: Re: EXECUTE Permissions and Cross Database
- Previous by thread: Re: EXECUTE Permissions and Cross Database
- Index(es):
Relevant Pages
|