RATE THIS ANSWER
0
Click to Vote:
0
0
Yes this can be done.
1. Create the new Login for domain\srvc and then create a database user from the Login in database A.
USE database A
GO
CREATE USER [domain\srvc] FROM LOGIN [domain\srvc]
2. Grant authority to the User domain\srvc in database A to enable them to delete data from the table.
3. Create a database user from the Login domain\srvc in database B.
USE database B
GO
CREATE USER [domain\srvc] FROM LOGIN [domain\srvc]
4. Grant authority to the User domain\srvc in database B to enable them to delete data from the table.
5. Create the synonym in Database A, referencing the table in database B.
6. Create the stored procedure in database A specifying the with execute as 'domain\srvc' option.
7. Change the trustworthy setting for Database A to ON
ALTER DATABASE Database A SET TRUSTWORTHY ON
8. Grant execute permission to the Stored Procesure to to any database users who need to call it.
Last Answered:
Aug 11 2009 6:42 PM GMT by TIMDBA 
15 pts.