Being a little new to linked servers I need some help on compilation.
I have set the linked server up fine with the server name being tmpServer
If I do for example
'select * from tmp...tbldata'
enterprise manager will not compile saying it can't find tmpserver
If I wrap it into text and run sp_executesql it compiles, runs and produces the results I want.
Do processes run against linked Servers always have to be run in dynamic SQL?
I have set the linked server up fine with the server name being tmpServer
If I do for example
'select * from tmp...tbldata'
enterprise manager will not compile saying it can't find tmpserver
If I wrap it into text and run sp_executesql it compiles, runs and produces the results I want.
Do processes run against linked Servers always have to be run in dynamic SQL?