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 9.0
    • Documentation

This function is used to associate column-specific information with the corresponding OpenAccess SDK SQL engine column handle. It is primarily of use when the IP is implemented to associate with a column some data that can be used later when processing values for that column. The saved column-specific information persists until the end of query execution and can be retrieved by calling dam_getIP_hcol.

The column-specific information is a (void *) that can reference any information.

int dam_setIP_hcol(
    DAM_HSTMT  hstmt, 
    DAM_HCOL   hcol, 
    IP_HCOL    ip_hcol)

Parameters for dam_setIP_hcol

Parameter Type Description
IN
hstmt DAM_ HSTMT The statement handle.
hcol DAM_HCOL The column handle.
ip_hcol IP_HCOL A pointer to the structure that is allocated by the IP for storing information at column level.
RETURN
int Status of the function call:
DAM_SUCCESS - Value is associated
DAM_FAILURE - Error

See also

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