skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getOriginalQueryParamCount
 

dam_getOriginalQueryParamCount

This method returns the number of parameters specified in the original query.
int dam_getOriginalQueryParamCount(
long hstmt,
xo_int piParamCount)
Table 208. Properties of dam_getOriginalQueryParamCount
Parameter
Type
Description
INPUT
hstmt
long
The statement handle
OUTPUT
piParamCount
xo_int
The number of parameters
RETURN
int
The status of the call:
*DAM_SUCCESS - all data retrieved
*DAM_FAILURE - error in getting the data

See also

*dam_getOriginalQueryParamValue