We want to use PHP to access DB2 tables with VARCHAR columns longer than 255 characters.
When a SELECT query is executed, the value of a VARCHAR column of more than 255 characters is not returned …
By enabling a trace in the DSNAOINI configuration (APPLTRACE = 1 and APPLTRACEFILENAME = path), we find that the SQLGetData statement returns an SQL_ERROR when accessing this column.
Is this a limitation of the ODBC driver? Of PDO?
Is there a way to circumvent this limitation?
Thank you in advance for your help.