including parameters in OPENQUERY

From the OPENQUERY documentation it states that: OPENQUERY does not accept variables for its arguments. See this article for a workaround. UPDATE: As suggested, I’m including the recommendations from the article below. Pass Basic Values When the basic Transact-SQL statement is known, but you have to pass in one or more specific values, use code … Read more