ODBC_LONGREADLEN(3) 1 ODBC_LONGREADLEN(3)
odbc_longreadlen - Handling of LONG columns
SYNOPSIS
bool odbc_longreadlen (resource $result_id, int $length)
DESCRIPTION
Enables handling of LONG and LONGVARBINARY columns.
PARAMETERS
o $result_id
- The result identifier.
o $length
- The number of bytes returned to PHP is controlled by the parameter length. If it is set to 0, Long column data is passed through
to the client.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note
Handling of LONGVARBINARY columns is also affected by odbc_binmode(3).
PHP Documentation Group ODBC_LONGREADLEN(3)