Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_allocRowSet

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

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)

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.
TitleResults for “How to create a CRG?”Also Available inAlert