skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_setIP_hcol
 

dam_setIP_hcol

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)
Table 172. 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

*dam_getIP_hcol