Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_allocArray

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

This function allocates an array and returns its handle. The OpenAccess SDK SQL engine allocates the memory required by the array to hold iCardinality number of elements.

DAM_HARRAY dam_allocArray(
    DAM_HSTMT hstmt, 
    DAM_HCOL  hCol,
    int       iCardinality)

Parameters for dam_allocArray

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
hcol DAM_HCOL The column handle.
iCardinality int The number of elements in the array.
RETURN
DAM_HARRAY The handle to a new array. A NULL is returned if an array could not be allocated.
TitleResults for “How to create a CRG?”Also Available inAlert