skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_setIP_hstmt
 

dam_setIP_hstmt

This method is used to save state information for a statement that is being processed. Use this method 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 an object that can be retrieved later by calling dam_getIP_hstmt. Implement your IP to create a vector in which to store these objects and then save the index into this vector using this method.
void dam_setIP_hstmt(
int64 hstmt,
int ip_hstmt_index)
 
Table 198: Parameters for dam_setIP_hstmt 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
ip_hstmt_index
int
An index into a vector, into which is saved the object allocated by the IP for storing information at statement level.
RETURN
 
 
 
None
 

See also 

dam_getIP_hstmt