Home > PHP > Function > ODBC > odbc_statistics()

odbc_statistics()

odbc_statistics - Retrieve statistics about a table

Syntax

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

Arguments

  • 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.

Description

Get statistics about a table and its indexes.

Version

PHP 4, 5

Return value

Returns an ODBC result identifier or FALSE on failure.