MDAC 2.5 SDK - OLE DB Programmer's Reference
Appendix B: Schema Rowsets


 

STATISTICS Rowset

The STATISTICS rowset identifies the statistics defined in the catalog that are owned by a given user.

The STATISTICS rowset contains the following columns.

Column name Type indicator Description
TABLE_CATALOG DBTYPE_WSTR Catalog name. NULL if the provider does not support catalogs.
TABLE_SCHEMA DBTYPE_WSTR Unqualified schema name. NULL if the provider does not support schemas.
TABLE_NAME DBTYPE_WSTR Table name.
CARDINALITY DBTYPE_UI8 Cardinality (number of rows) of the table.

Default Sort Order: TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME