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

dam_getBulkValueToSet

This function returns the bulk insert related information, such as data buffer, length buffer, size of the column value, and total number of rows.
int dam_getBulkValueToSet (DAM_HSTMT Hstmt,
DAM_HROWELEM hRowElem,
DAM_HBULKVAL* PpValBuffer,
long** PpLenBuffer,
long* PiValSize,
long* PiRowCount)
Table 100. Parameters for dam_getBulkValueToSet
Parameter
Type
Description
IN
Hstmt
DAM_HSTMT
The statement handle.
hRowElem
DAM_HROWELEM
The row element.
PpValBuffer
DAM_HBULKVAL*
The address of the buffer containing bulk/column values.
PpLenBuffer
DAM_BULKVALLEN**
The address of the buffer containing the lengths of the values in the bulk values buffer.
If the value length is -1, it indicates that the value is NULL.
PiValSize
long*
The size of each value in the buffer in bytes.
PiRowCount
long*
The total number of rows in the bulk.
RETURN
int
DAM_SUCCESS - on success.
DAM_FAILURE - on failure.