Hi,
I am trying to fetch data from IBM DB2 to SQL Server 2005.
The problem I am facing is when I create the OLE DB Connection (I am using the "IBM DB2 UDB for iSeries IBMDA400 OLE DB Provider") and see the "Preview", I get "System.Byte[]" in a couple of columns for all the rows, instead of the actual data.
The datatype of the original field is "Byte Stream".
I have tried all options, but, failed. I believe there is something in the "Force Translate" property of the OLE DB Connection. Right now it is set to "65535". I am not sure if that needs to be changed.
I was earlier using a DTS package, where I used ODBC for connecting to the same database. In ODBC, there is a "Translation" tab where there is a check box labelled: "Convert binary text (CCSID 65535) to text".
When I check this box, I am able to see the data correctly.
But, now I have moved to SSIS and I am facing the same problem as I am not using the ODBC connection.
Please help.
Thanks and Regards,
B@.ns
I don't knot if this would resolve your problem; but you can still use the ODBC connection in SSIS by using a Data Reader source component.|||
Hi,
Thank you for the reply.
I will try and use the same ODBC connection and get back.
Thanks and Regards,
B@.ns
|||Thank you Rafael!
This has indeed solved my problem.
Thanks and Regards,
B@.ns
|||If you still having problems.
1. You can try to create linkserver
2. Create a view of the target table
3. Access it like a SQL server table
No comments:
Post a Comment