I have ServerA and ServerB attached both ways with linked-servers.
When ServerA executes something like :
[ServerB].Database.dbo.Stored_Procedure @Parameter
I want Stored_Procedure to know that ServerA is where the transaction is originating.
Other than checking that the user is the one defined in the linked-server definition(I am using SQL Server authentication for the linked servers), is there any other way to know the query is originating from another instance/server?
Thanks!
CKC