COLUMN_NAME_EX
Represents a binding on the rowset to the specific column in the rowset. Similar to COLUMN_NAME, except that this macro also takes data type, size, precision, scale, column length, and column status.
COLUMN_NAME_EX(pszName, wType, nLength, nPrecision, nScale, data, length, status )
Parameters
pszName
[in] A pointer to the column name. The name must be a Unicode string. You can accomplish this by putting an 'L' in front of the name, for example: L"MyColumn".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.
Remarks
See COLUMN_NAME for information on where the COLUMN_NAME_* macros are used.
Requirements
Header: atldbcli.h