|
We found an issue with the IBM DB2 Driver for .NET (also occurs if
you try to do the Data Transfer from IBM i) when dealing with
characters in a CHAR field (CCSID 37) that contain a NUL (hex code
00) character in the field. In both cases (.NET driver and Data
Transfer from IBM i) we get a character code conversion error and the
whole SELECT SQL statement fails.
Any easy way to find these values in all tables, and hopefully we can
track down how the heck this bad data is getting entered.
I attempted to no avail:
select * from tablename
where fieldname like '%' || chr(00) || '%'
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.