The following table lists the error numbers and their accompanying reason text, which should give some indication of the error.
| Error number | Meaning | 
|---|---|
| 17 | end of line found | 
| 18 | illegal character | 
| 19 | identifier too long | 
| 20 | ending quote missing | 
| 21 | string too long | 
| 22 | syntax error | 
| 23 | table not in FROM list | 
| 24 | # values/columns don't match | 
| 25 | illegal # of parameters | 
| 26 | char length too long | 
| 27 | Too many tables in select | 
| 28 | column undefined | 
| 29 | not a GROUP BY expression | 
| 30 | mask must be TDT_CHAR | 
| 31 | too many sort columns | 
| 32 | column out of range | 
| 33 | column already defined | 
| 34 | table already defined | 
| 35 | OJ nested ONs not allowed | 
| 36 | user not defined | 
| 37 | too many sub-queries | 
| 38 | sub-query must return 1 column | 
| 39 | invalid union | 
| 40 | operation requires $1 auth. | 
| 41 | invalid password | 
| 42 | data truncation | 
| 43 | missing string delimiter | 
| 44 | missing column separator | 
| 45 | premature end of line | 
| 46 | create view column cnt mismatch | 
| 47 | NULLs not allowed | 
| 48 | restricted NULL operations | 
| 49 | invalid predicate result | 
| 50 | too many cursors opened | 
| 51 | function not implemented yet | 
| 52 | not implemented yet | 
| 53 | Unknown node | 
| 54 | Unknown error code number |