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

dam_setIP_hstmt

This function is used to save state information for a statement that is being processed. It is primarily of use when performing cursor based execution of the statement in which the IP returns partial results in each call. It must save the state to know where to begin next time. The saved state is in the form of a (void *) that can later be retrieved by calling dam_getIP_hstmt.
void dam_setIP_hstmt(
DAM_HSTMT hstmt,
IP_HSTMT ip_hstmt)
Table 173. Parameters for dam_setIP_hstmt
Parameter
Type
Description
IN
Hstmt
DAM_HSTMT
The statement handle.
ip_hstmt
IP_HSTMT
A pointer to the structure that is allocated by the IP for storing information at statement level.
RETURN
None

See also

*dam_getIP_hstmt