ODBC_STATISTICS(3) 1 ODBC_STATISTICS(3)
odbc_statistics - Retrieve statistics about a table
SYNOPSIS
resource odbc_statistics (resource $connection_id, string $qualifier, string $owner, string $table_name, int $unique, int $accuracy)
DESCRIPTION
Get statistics about a table and its indexes.
PARAMETERS
o $connection_id
-The ODBC connection identifier, see odbc_connect(3) for details.
o $qualifier
- The qualifier.
o $owner
- The owner.
o $table_name
- The table name.
o $unique
- The unique attribute.
o $accuracy
- The accuracy.
RETURN VALUES
Returns an ODBC result identifier or FALSE on failure.
The result set has the following columns:
oTABLE_QUALIFIER
oTABLE_OWNER
oTABLE_NAME
oNON_UNIQUE
oINDEX_QUALIFIER
oINDEX_NAME
oTYPE
oSEQ_IN_INDEX
oCOLUMN_NAME
oCOLLATION
oCARDINALITY
oPAGES
oFILTER_CONDITION
The result set is ordered by NON_UNIQUE, TYPE, INDEX_QUALIFIER, INDEX_NAME and SEQ_IN_INDEX.
PHP Documentation Group ODBC_STATISTICS(3)