Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_setIP_hcol

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

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)

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

TitleResults for “How to create a CRG?”Also Available inAlert