We have been Selecting data from A DB2 AS400 via Linked Servers in SQL 7.
We began to pull data from new intstance/tables that contain some fields with foreign characters. (double byte, unicode) Some data will pull fine, then we will get an error:
Unexpected NULL value returned for column '[MYLINKEDSERVER].[DB2NAME1].[DB2NAME2].[MYTABLENAME].DESC2' from the OLE DB provider 'MSDASQL'. This column cannot be NULL.
The DBA from the other country tells me that the field is never null.
KB article Q239458 seemed related but doesn't help. We are running SP4, and will be trying on SP3 soon.
Is there any way to turn off this checking for NULL? My guess is that it interprets the unicode as a NULL incorrectly. I've tried to explicitly cast into varchar(30.)
Sometimes this fields is readable in English and it contains data that is critical when we can see it.
Thanks In Advance,