Informix Error -11084: Invalid precision value.
Cause and resolution
Invalid precision value.
This Informix CLI error code is the same as SQLSTATE value S1104. The following function can return this error code: SQLBindParameter().
The value specified for the argument cbColDef is outside the range of values supported by the data source for a column of the SQL data type that the fSqlType argument specifies. For a list of valid values for the column type that the fSqlType argument specifies, check the Informix CLI Programmer's Manual.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11084 fires when SQLBindParameter()'s cbColDef argument is outside the range the data
source supports for the column type fSqlType specifies — per the official guidance, this
is the same as SQLSTATE value S1104.
cbColDefoutside the supported range for thefSqlTypecolumn type, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check the Informix CLI Programmer's Manual for the supported precision values for that column type, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an out-of-range precision value.
Diagnostic Checks
- Check the
cbColDefargument against the valid range for thefSqlTypecolumn type named in the same call.
Related Errors / Related Topics
- -11085 — "Invalid parameter type." A related
SQLBindParameter()argument-validity error, onfParamTyperather thancbColDef.
SQLBindParameter()'s cbColDef argument was outside the supported precision range for its
column type — check the CLI manual for valid values.