ODBC_PRIMARYKEYS(3) 1 ODBC_PRIMARYKEYS(3)
odbc_primarykeys - Gets the primary keys for a table
SYNOPSIS
resource odbc_primarykeys (resource $connection_id, string $qualifier, string $owner, string $table)
DESCRIPTION
Returns a result identifier that can be used to fetch the column names that comprise the primary key for a table.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $qualifier
-
o $owner
-
o $table
-
RETURN VALUES
Returns an ODBC result identifier or FALSE on failure.
The result set has the following columns:
oTABLE_QUALIFIER
oTABLE_OWNER
oTABLE_NAME
oCOLUMN_NAME
oKEY_SEQ
oPK_NAME
PHP Documentation Group ODBC_PRIMARYKEYS(3)