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

dam_getOriginalQueryParamCount

This function returns the number of parameters specified in the original query.
int dam_getOriginalQueryParamCount(
DAM_HSTMT hstmt,
int * piParamCount)
Table 146. Properties of dam_getOriginalQueryParamCount
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
OUT
piParamCount
int *
The number of parameters.
RETURN
int
The status of the function call:
*DAM_SUCCESS - all data retrieved
*DAM_FAILURE - error in getting the data

See also

*dam_getOriginalQueryParamValue