Compartir a través de


PROVIDER_COLUMN_ENTRY_GN

Represents a specific column supported by the provider.

PROVIDER_COLUMN_ENTRY_GN (name, ordinal, flags, colSize, dbtype, precision, scale, guid )

Parameters

  • name
    [in] The column name.

  • ordinal
    [in] The column number. Unless the column is a Bookmark column, the column number must not be 0.

  • flags
    [in] Specifies how data is returned. See the dwFlags description in DBBINDING Structures.

  • colSize
    [in] The column size.

  • dbtype
    [in] Indicates the data type of the value. See the wType description in DBBINDING Structures.

  • precision
    [in] Indicates the precision to use when getting data if dbType is DBTYPE_NUMERIC or DBTYPE_DECIMAL. See the bPrecision description in DBBINDING Structures.

  • scale
    [in] Indicates the scale to use when getting data if dbType is DBTYPE_NUMERIC or DBTYPE_DECIMAL. See the bScale description in DBBINDING Structures.

  • guid
    A schema rowset GUID. See IDBSchemaRowset in the OLE DB Programmer's Reference for a list of schema rowsets and their GUIDs.

Remarks

Allows you to specify the column's size, data type, precision, scale, and schema rowset GUID.

Requirements

Header: atldb.h

See Also

Concepts

Macros for OLE DB Provider Templates

OLE DB Provider Templates (C++)

The OLE DB Provider Template Architecture

Creating an OLE DB Provider