COLUMN_NAME
Represents a binding on the rowset to the specific column in the rowset. Similar to COLUMN_ENTRY, except that this macro takes the column name instead of the column number.
COLUMN_NAME(pszName, data )
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".data
[in] The corresponding data member in the user record.
Remarks
The COLUMN_NAME_* macros are used in the same places as COLUMN_ENTRY:
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.
Requirements
Header: atldbcli.h