March 15, 2007 at 1:40 pm
March 16, 2007 at 7:35 am
Hi Giorgio,
I have this kind of thing up and running using the OLEDB provider (IBMDADB2) with fix pack 10. Unfortunately, I'm not in a location that allows me to see the code that I'm using.
So, from memory, I dont believe I ever got OPENQUERY to work, but you might. I think that you could try explicitly naming the columns in your select. I probably tried that to no avail.
What I ended up using was the four part naming. Assuming that your linked server is set up to specify the schema name (TEST) then I believe that you would specify only the first and fourth names like so:
Insert TESTUDB3...T1 VALUES( '1','1','1','1','1')
You might also need to use SET IMPLICIT_TRANSACTIONS OFF and SET XACT_ABORT ON.
Take these ideas for a spin and see what happens. I spent many hours to figure all this out, so I hope you find your way through it easier than I did.
good luck jg
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply