Viewing 4 posts - 1 through 4 (of 4 total)
edited for double post, sorry!
April 11, 2014 at 12:06 pm
rVadim (4/11/2014)
You need to include the whole thing (including INSERT INTO part) into the dynamic code.
rVadim, I'm trying to follow this suggestion, but I can't get things to work. Also,...
April 11, 2014 at 11:44 am
I should mention that the linked server is not in SQL - it's an AS400 database.
April 11, 2014 at 11:33 am
JoshDBGuy,
I have found that OPENQUERY does not allow variables - the only workaround is to embed it in a @TSQL and then execute. I know for a fact that this...
April 11, 2014 at 11:05 am
Viewing 4 posts - 1 through 4 (of 4 total)