Informix Error -33044: Precision must be greater than 0 and less than the specified number of digits.
Cause and resolution
Precision must be greater than 0 and less than the specified number of digits.
You specified the precision and/or the scale for a DECIMAL value incorrectly. See the IBM Informix Guide to SQL: Reference and the appropriate IBM Informix ESQL manual for proper usage.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33044 fires when a DECIMAL value's precision and/or scale is specified incorrectly —
per the official guidance.
- A
DECIMALprecision/scale combination that's invalid, per the official guidance — the direct, only cause; precision must be greater than 0 and less than the specified digit count.
Solutions / Resolution
- Correct the precision/scale per the IBM Informix Guide to SQL: Reference and the applicable ESQL manual, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalid precision/scale combination.
Diagnostic Checks
- Check the flagged
DECIMALdeclaration's precision and scale, and correct them per the SQL Reference and ESQL manuals.
Related Errors / Related Topics
- -33012 — "Number of digits must be 1 to 32." A related
DECIMAL-declaration error, on the overall digit count rather than the precision/scale relationship.
A DECIMAL value's precision/scale was specified incorrectly — correct it per the SQL
Reference and ESQL manuals.