odbc - Using 4-part naming to do insert to DB2 from SQL Server 2005? -
We are using DB2 9.1 on Linux and SQL Server 2005, and the IBM DB2 ODBC driver. We have the linked server to DB2, from SQL Server, I can do the following:
- I link a new table on the DB2-I, OK exec ('Table vs. testiciliabI (T1_DEV_USER_XXXX) In TESTSylviaB (field1 int)). Part 4 can use it to use naming, as long as I leave the second part and put everything in the upper case, choose * from * LINKDB2..DEV.TESTSYLVIAB * - I can use Exec (Which is from the nearest) exec ('insert.t DEVTestSylviaB (field1) value (1)') on LinkDB2 - but I can not insert it through the naming of standard 4 part, like this: LINKDB2 .. Enter the DEV.TESTSYLVIAB values (1)
I get the "Driver not enabled" error message Is:
Linked Server "LINKDB2" for Oeli DB provider "MSDASQL" return message "[IBM] [CLI Driver] CLI0150E Driver not capable. = SlC00" made. Message 7343, Level 16, State 2, Line 1 OLE DB Provider "MSDASQL" table for linked server "LINKDB2" can not be included in the table "[LINKDB2] .. [DEV] [INS] [TESTSYLVIAB]"
Any thoughts?
Thank you! Enter the name of part 4 is a distributed transaction and the DB2 driver needs to be enrolled in it. See.
Comments
Post a Comment