skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_allocRowSet
 

dam_allocRowSet

This method allocates a new rowset (result table) and returns its handle. The OpenAccess SDK SQL engine allocates the memory that is required by the rowset. A new rowset must be allocated for each rowset that you want to associate with a outer table row. For example, if tables dept and emp are being joined, then for each row of dept, you must allocate a new rowset and add the emp rows to it.
long dam_allocRowSet(long hstmt)
Table 133. Parameters for dam_allocRowSet
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
RETURN
long
The handle to a new rowset. A 0 is returned if a rowset could not be allocated.