COLUMN_NAME_PS_LENGTH_STATUS
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at COLUMN_NAME_PS_LENGTH_STATUS.
Represents a binding on the rowset to the specific column in the rowset. Similar to COLUMN_NAME, except that this macro also takes precision, scale, column length, and column status.
Syntax
COLUMN_NAME_PS_LENGTH_STATUS(
pszName
,
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"
.
nPrecision
[in] The maximum precision of the column you want to bind.
nScale
[in] The scale of the column you want to bind.
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
See Also
Macros and Global Functions for OLE DB Consumer Templates
BEGIN_ACCESSOR
BEGIN_ACCESSOR_MAP
BEGIN_COLUMN_MAP
COLUMN_NAME
COLUMN_NAME_EX
COLUMN_NAME_LENGTH
COLUMN_NAME_LENGTH_STATUS
COLUMN_NAME_STATUS
COLUMN_NAME_PS
COLUMN_NAME_PS_LENGTH
COLUMN_NAME_PS_STATUS
COLUMN_NAME_TYPE
COLUMN_NAME_TYPE_PS
COLUMN_NAME_TYPE_SIZE
COLUMN_NAME_TYPE_STATUS