skip to main content
SQL Engine parse tree methods for Java : damex_addResultBufferToTable
 

damex_addResultBufferToTable

This method adds rows to the OpenAccess SDK SQL Engine and sets the status in result buffer Status[]. If an error occurs, it sets the error index and returns DAM_FAILURE.
long damex_addResultBufferToTable(
     long         hstmt,
     ResultBuffer pResBuffer)
Table 247. Parameters for dam_addResultBufferToTable
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
pResBuffer
ResultBuffer
The result buffer.
RETURN
int
DAM_SUCCESS - Added the row.DAM_FAILURE - Failed to add the row.