Skip to content

Latest commit

 

History

History
103 lines (87 loc) · 3.01 KB

File metadata and controls

103 lines (87 loc) · 3.01 KB
title COLUMN_ENTRY_PS_LENGTH | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
COLUMN_ENTRY_PS_LENGTH
dev_langs
C++
helpviewer_keywords
COLUMN_ENTRY_PS_LENGTH macro
ms.assetid d63ab895-a4df-4183-ac09-cf2311222408
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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