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