ctsqlSetParameterScale
Change the parameter scale value.
Declaration
CTSQLRET ctsqlSetParameterScale(pCTSQLCMD hCmd, INTEGER index, SMALLINT scale)
Description
ctsqlSetParameterScale() changes the parameter scale value. The parameter scale represents the number of decimal digits in a parameter.
Return
ctsqlSetParameterScale() returns CTSQLRET_OK on success.
Symbolic Constant |
Explanation |
SQL_ERR_BADPARAM |
Bad parameter specification for the statement. |
See Also
ctsqlSetParameter(), ctsqlSetParameterPrecision()