Yes, I found a reference to heavily single quoted methods. I forget where. But, the following query is based on that approach and I was able to get it to work and with a little tweaking I greatly reduced the number of quotes in the query...
declare @someSQL VARCHAR(200)
declare @somePATID...
Are you sure that the "fact table" transfer is the actual data table and not some sort of schema definition transfer or reference validation?
The problem I have with OPENQUERY is that it doesn't allow parameterization of the query string. The problem with the 4 part naming convention method is...
The question is not how to reference a linked server or any tables it may contain. The question is how to pass query parameter values.
And I will note that not all linkable remote servers and their databases support 4 part naming conventions, and yet they are still queryable. It is on the...
How do you pass parameter based queries to remote linked servers from SQL*Server?
It seems like such a basic functionality that it must be within SQL*Server to call remote non-SQL*Server data sources with a parameter.
OPENQUERY doesn't accept parameters within the query string portion, so the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.