PHP: odbc_statistics - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

odbc_tableprivileges odbc_specialcolumns

Last updated: Fri, 26 Jan 2007

view this page in

# odbc_statistics

(PHP 4, PHP 5)

odbc_statistics -- Retrieve 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. Returns an ODBC result identifier or `FALSE` on failure.

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.

add a note User Contributed Notes
odbc_statistics
There are no user contributed notes for this page.
odbc_tableprivileges odbc_specialcolumns

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST