Thanks for the points, I didn't have chaining enabled. I have enabled
chaining but I'm still getting the same error of DELETE permission denied
when I try and delete the data from the second database.
> As long as you dont activate ownership chain (as I assume that you are
> deleting data in a different database) this won´t work. Ownerchip
[quoted text clipped - 5 lines]
>
> HTH, JEns Suessmeyer.
Dan Guzman - 13 Oct 2005 00:56 GMT
Did you peruse the article in the link Jens posted? In addition to enabling
the 'db chaining' database option (or cross-database chaining server option)
the databases need to have the same owner so that the dbo-owned object
ownership chain is unbroken. You can use sp_changedbowner to make the
database owners the same. For example:
USE MyDB1
EXEC sp_changedbowner 'SomeLogin'
USE MyDB2
EXEC sp_changedbowner 'SomeLogin'
GO

Signature
Hope this helps.
Dan Guzman
SQL Server MVP
> Thanks for the points, I didn't have chaining enabled. I have enabled
> chaining but I'm still getting the same error of DELETE permission denied
[quoted text clipped - 9 lines]
>>
>> HTH, JEns Suessmeyer.
Chris Bucknell - 13 Oct 2005 01:10 GMT
Thanks for the threads you suggested, I sorted the problem - the two
databases had different owners, now thats sorted it works fine.
> Thanks for the points, I didn't have chaining enabled. I have enabled
> chaining but I'm still getting the same error of DELETE permission denied
[quoted text clipped - 9 lines]
> >
> > HTH, JEns Suessmeyer.