Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

odbc_data_source(3) [php man page]

ODBC_DATA_SOURCE(3)							 1						       ODBC_DATA_SOURCE(3)

odbc_data_source - Returns information about a current connection

SYNOPSIS
array odbc_data_source (resource $connection_id, int $fetch_type) DESCRIPTION
This function will return the list of available DSN (after calling it several times). PARAMETERS
o $connection_id -The ODBC connection identifier, see odbc_connect(3) for details. o $fetch_type - The $fetch_type can be one of two constant types: SQL_FETCH_FIRST, SQL_FETCH_NEXT. Use SQL_FETCH_FIRST the first time this func- tion is called, thereafter use the SQL_FETCH_NEXT. RETURN VALUES
Returns FALSE on error, and an array upon success. PHP Documentation Group ODBC_DATA_SOURCE(3)

Check Out this Related Man Page

ODBC_SPECIALCOLUMNS(3)							 1						    ODBC_SPECIALCOLUMNS(3)

odbc_specialcolumns - Retrieves special columns

SYNOPSIS
resource odbc_specialcolumns (resource $connection_id, int $type, string $qualifier, string $owner, string $table, int $scope, int $nullable) DESCRIPTION
Retrieves either the optimal set of columns that uniquely identifies a row in the table, or columns that are automatically updated when any value in the row is updated by a transaction. PARAMETERS
o $connection_id -The ODBC connection identifier, see odbc_connect(3) for details. o $type - When the type argument is SQL_BEST_ROWID, odbc_specialcolumns(3) returns the column or columns that uniquely identify each row in the table. When the type argument is SQL_ROWVER, odbc_specialcolumns(3) returns the column or columns in the specified table, if any, that are automatically updated by the data source when any value in the row is updated by any transaction. o $qualifier - The qualifier. o $owner - The owner. o $table - The table. o $scope - The scope, which orders the result set. o $nullable - The nullable option. RETURN VALUES
Returns an ODBC result identifier or FALSE on failure. The result set has the following columns: oSCOPE oCOLUMN_NAME oDATA_TYPE oTYPE_NAME oPRECISION oLENGTH oSCALE oPSEUDO_COLUMN PHP Documentation Group ODBC_SPECIALCOLUMNS(3)
Man Page