bool odbc_binmode ( resource $result_id
, int $mode
)
odbc_binmode — Handling of binary column data
-
result_id
-
The result identifier.
If
result_id
is 0, the settings apply as default for new results.Замечание: Default for longreadlen is 4096 and
mode
defaults to ODBC_BINMODE_RETURN. Handling of binary long columns is also affected by odbc_longreadlen(). -
mode
-
Possible values for
mode
are:-
ODBC_BINMODE_PASSTHRU
: Passthru BINARY data -
ODBC_BINMODE_RETURN
: Return as is -
ODBC_BINMODE_CONVERT
: Convert to char and return
-