skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_setIP_hcol
 

dam_setIP_hcol

This method is used to associate column-specific information with the corresponding OpenAccess SDK SQL Engine column handle. Use this method to associate a column with some data that can be used later when processing values for that column. The saved column-specific information can be retrieved later by calling dam_getIP_hcol.
The column-specific information is an object that can reference any information. Implement your IP to create a vector to store these objects in and then save the index into this vector using this method.
int dam_setIP_hcol(
int64 hstmt,
int64 hcol,
int ip_hcol)
 
Table 197: Parameters for dam_getsetIP_hcol 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
hcol
int64
The column handle
ip_hcol
int
An index into a vector, into which is saved the object allocated by the IP for storing information at column level.
RETURN
 
 
 
int
Status of the method call:
DAM_SUCCESS – Value is associated
DAM_FAILURE – Error

See also 

dam_getIP_hcol