OleDbSchemaGuid.Table_Statistics Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Field Value

Type: System.Guid

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
Available since 1.1
Return to top
Show: