|
odbc_statisticsRetrieve statistics about a table Description
Odbc\Resultfalse odbc_statistics(
Odbc\Connection $odbc,stringnull $catalog,string $schema,string $table,int $unique,int $accuracy) Get statistics about a table and its indexes. Parameters
Return Values
Returns an ODBC result object or The result set has the following columns:
The result set is ordered by Changelog
ExamplesExample #1 List Statistics of a Table The above example will output something similar to:
Array
(
[TABLE_CAT] => TutorialDB
[TABLE_SCHEM] => dbo
[TABLE_NAME] => TEST
[NON_UNIQUE] =>
[INDEX_QUALIFIER] =>
[INDEX_NAME] =>
[TYPE] => 0
[ORDINAL_POSITION] =>
[COLUMN_NAME] =>
[ASC_OR_DESC] =>
[CARDINALITY] => 15
[PAGES] => 3
[FILTER_CONDITION] =>
)
See Also
|