odbc_statistics

(PHP 4, PHP 5, PHP 7)

odbc_statisticsRetrieve statistics about a table

Beschreibung

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

Get statistics about a table and its indexes.

Parameter-Liste

connection_id

Eine ODBC-Verbindungsressource, siehe odbc_connect() für Details.

qualifier

The qualifier.

owner

The owner.

table_name

The table name.

unique

The unique attribute.

accuracy

The accuracy.

Rückgabewerte

Returns an ODBC result identifierIm Fehlerfall wird FALSE zurückgegeben..

The result set has the following columns:

  • TABLE_QUALIFIER
  • TABLE_OWNER
  • TABLE_NAME
  • NON_UNIQUE
  • INDEX_QUALIFIER
  • INDEX_NAME
  • TYPE
  • SEQ_IN_INDEX
  • COLUMN_NAME
  • COLLATION
  • CARDINALITY
  • PAGES
  • FILTER_CONDITION

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