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

dam_getIP_hstmt

This function is used to retrieve the 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 IP uses the dam_setIP_hstmt function to save its state in the form of a void *.
IP_HSTMT dam_getIP_hstmt(
DAM_HSTMT hstmt)
Table 126. Parameters for dam_getIP_hstmt
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
RETURN
IP_HSTMT
A pointer to the structure that is allocated by the IP for storing information at statement level. NULL if no state has been saved.

See also

*dam_setIP_hstmt