ODBC Functions
PHP Manual

odbc_statistics

(PHP 4, PHP 5)

odbc_statisticsRetrieve statistics about a table

Description

resource odbc_statistics ( resource $connection_id , string $qualifier , string $owner , string $table_name , int $unique , int $accuracy )

Get statistics about a table and its indexes.

Parameters

connection_id

The ODBC connection identifier, see odbc_connect() for details.

qualifier

The qualifier.

owner

The owner.

table_name

The table name.

unique

The unique attribute.

accuracy

The accuracy.

Return Values

Returns an ODBC result identifier or FALSE on failure.

The result set has the following columns:

The result set is ordered by NON_UNIQUE, TYPE, INDEX_QUALIFIER, INDEX_NAME and SEQ_IN_INDEX.


ODBC Functions
PHP Manual