ODBC_GETTYPEINFO(3) 1 ODBC_GETTYPEINFO(3)
odbc_gettypeinfo - Retrieves information about data types supported by the data source
SYNOPSIS
resource odbc_gettypeinfo (resource $connection_id, [int $data_type])
DESCRIPTION
Retrieves information about data types supported by the data source.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $data_type
- The data type, which can be used to restrict the information to a single data type.
RETURN VALUES
Returns an ODBC result identifier or FALSE on failure.
The result set has the following columns:
oTYPE_NAME
oDATA_TYPE
oPRECISION
oLITERAL_PREFIX
oLITERAL_SUFFIX
oCREATE_PARAMS
oNULLABLE
oCASE_SENSITIVE
oSEARCHABLE
oUNSIGNED_ATTRIBUTE
oMONEY
oAUTO_INCREMENT
oLOCAL_TYPE_NAME
oMINIMUM_SCALE
oMAXIMUM_SCALE
The result set is ordered by DATA_TYPE and TYPE_NAME.
PHP Documentation Group ODBC_GETTYPEINFO(3)