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 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)

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