OleDbSchemaGuid::Table_Statistics Field
Describes the available set of statistics on tables in the provider.
Assembly: System.Data (in System.Data.dll)
Table_Statistics maps to the OLE DB TABLE_STATISTICS rowset. Unless otherwise specified, restriction columns are returned in the following order.
Restriction column | CLR data type | Description |
|---|---|---|
TABLE_CATALOG | string | Catalog name of the table of this statistic. A null value if the provider does not support catalogs. |
TABLE_SCHEMA | string | Schema name of the table. A null value if the provider does not support schemas. |
TABLE_NAME | string | Table name. |
STATISTICS_CATALOG | string | Catalog name of the statistic. A null value if the provider does not support catalogs. |
STATISTICS_SCHEMA | string | Schema name of the statistic. A null value if the provider does not support schemas. |
STATISTICS_NAME | string | Name of the statistic. |
STATISTICS_TYPE | UInt16 (Int32) | Bitmask specifying the kinds of statistics supported by this statistic: DBSTAT_HISTOGRAM—Indicates histogram support. DBSTAT_COLUMN_CARDINALITY— Indicates column cardinality support. DBSTAT_TUPLE_CARDINALITY—Indicates tuple cardinality support. Note: Histograms correspond to only the first column for a multi-column statistic. |
Available since 1.1