OleDbSchemaGuid.Table_Statistics Field

Definition

Describes the available set of statistics on tables in the provider.

C#
public static readonly Guid Table_Statistics;

Field Value

Remarks

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.

Applies to

Tuote Versiot
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)