Export (0) Print
Expand All

OleDbSchemaGuid.Table_Statistics Field

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

Namespace:  System.Data.OleDb
Assembly:  System.Data (in System.Data.dll)

public static readonly Guid Table_Statistics

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft