| title | COLUMN_ENTRY_EX | Microsoft Docs | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| ms.reviewer | ||||||||||||||
| ms.suite | ||||||||||||||
| ms.technology |
|
|||||||||||||
| ms.tgt_pltfrm | ||||||||||||||
| ms.topic | article | |||||||||||||
| f1_keywords |
|
|||||||||||||
| dev_langs |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | dfad1b67-51c3-4289-b89a-da42d7e8bb88 | |||||||||||||
| caps.latest.revision | 7 | |||||||||||||
| author | mikeblome | |||||||||||||
| ms.author | mblome | |||||||||||||
| manager | ghogen | |||||||||||||
| translation.priority.ht |
|
Represents a binding on the rowset to the specific column in the database.
COLUMN_ENTRY_EX(
nOrdinal
,
wType
,
nLength
,
nPrecision
,
nScale
,
data
,
length
,
status
)
See DBBINDING in the OLE DB Programmer's Reference.
nOrdinal
[in] The column number.
wType
[in] The data type.
nLength
[in] The data size in bytes.
nPrecision
[in] The maximum precision to use when getting data and wType is DBTYPE_NUMERIC. Otherwise, this parameter is ignored.
nScale
[in] The scale to use when getting data and wType is DBTYPE_NUMERIC or DBTYPE_DECIMAL.
data
[in] The corresponding data member in the user record.
length
[in] The variable to be bound to the column length.
status
[in] The variable to be bound to the column status.
The COLUMN_ENTRY_EX macro is used in the following places:
-
Between the BEGIN_COLUMN_MAP and END_COLUMN_MAP macros.
-
Between the BEGIN_ACCESSOR and END_ACCESSOR macros.
-
Between the BEGIN_PARAM_MAP and END_PARAM_MAP macros.
See BOOKMARK_ENTRY.
Header: atldbcli.h
Macros and Global Functions for OLE DB Consumer Templates
BEGIN_ACCESSOR
BEGIN_ACCESSOR_MAP
BEGIN_COLUMN_MAP
COLUMN_ENTRY
COLUMN_ENTRY_PS
COLUMN_ENTRY_PS_LENGTH
COLUMN_ENTRY_LENGTH
COLUMN_ENTRY_LENGTH_STATUS
COLUMN_ENTRY_PS_LENGTH_STATUS
COLUMN_ENTRY_STATUS
COLUMN_ENTRY_PS_STATUS
END_ACCESSOR
END_ACCESSOR_MAP
END_COLUMN_MAP