July 6, 2012 at 11:18 am
by default, a linked server will only show the objects available in the DEFAULT DATABASE of the loginthat is connecting;
That's important, because if you have a login 'bob' that has rights to , say the database SANDBOX, but the default database for the login is master, then when you run EXEC sp_tables_ex myLinkedServer (which is what the GUI in SSMS calls), you'd probably see nothing,even though a fully qualified select like SELECT * FROM myLinkedServer.SandBox.Dbo.Invoices will work.
Lowell
Viewing post 1 (of 2 total)
You must be logged in to reply to this topic. Login to reply