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

dam_allocRowSet

This function allocates a new rowset (result table) and returns its handle. The OpenAccess SDK SQL engine allocates the memory required by the rowset. A new rowset must be allocated for each rowset you want to associate with an 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.
DAM_HROWSET dam_allocRowSet(
DAM_HSTMT hstmt)
Table 69. Parameters for dam_allocRowSet
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
RETURN
DAM_HROWSET
The handle to a new rowset. A NULL is returned if a rowset could not be allocated.