共用方式為


COLUMN_ENTRY_PS_LENGTH

 

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_ENTRY_PS_LENGTH.

Represents a binding on the rowset to the specific column in the database.

Syntax

  
COLUMN_ENTRY_PS_LENGTH(  
nOrdinal  
,   
nPrecision  
,   
nScale  
,   
data  
,   
length  
 )  
  

Parameters

See DBBINDING in the OLE DB Programmer's Reference.

nOrdinal
[in] The column number, starting with one. Bookmark corresponds to column zero.

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.

Remarks

Allows you to specify the precision and scale of the column you want to bind. This macro supports the length variable. It is used in the following places:

Requirements

Header: atldbcli.h

See Also

Macros and Global Functions for OLE DB Consumer Templates
BEGIN_ACCESSOR
BEGIN_ACCESSOR_MAP
BEGIN_COLUMN_MAP
COLUMN_ENTRY
COLUMN_ENTRY_EX
COLUMN_ENTRY_LENGTH
COLUMN_ENTRY_PS
COLUMN_ENTRY_LENGTH_STATUS
COLUMN_ENTRY_PS_LENGTH_STATUS
COLUMN_ENTRY_STATUS
COLUMN_ENTRY_PS_STATUS
END_ACCESSOR
END_ACCESSOR_MAP
END_COLUMN_MAP