Informix Error Messages and Error Codes From Error 1263 to 1267


Informix Error Code -1263 A field in a datetime or interval is out of range or incorrect.
Inspect the DATE, DATETIME, and INTERVAL literals in this statement; at least one of them contains at least one incorrect field.
In a DATE or DATETIME literal, the year might be zero, the month might be other than 1 to 12, or the day might be other than 1 to 31 or inappropriate for the month. Also in a DATETIME literal, the hour might be other than 0 to 23, the minute or second might be other than 0 to 59, or the fraction might have too many digits for the specified precision.
In an INTERVAL literal, the constraints are the same except that the first field is a count and can have as many digits as the qualifier specifies.

Informix Error Code -1264 Extra characters at the end of a datetime or interval.
Only spaces can follow a DATETIME or INTERVAL literal. Inspect this statement for missing or incorrect punctuation.
Informix Error Code -1265 Overflow occurred on a datetime or interval operation.
Both DATETIME and INTERVAL values are stored internally as DECIMAL values. In this statement, an arithmetic operation that uses DATETIME and/or INTERVAL values has caused an arithmetic overflow. This situation should not occur. Check the precision that is specified for an INTERVAL value. If the INTERVAL value that you want to enter is greater than the default number of digits that are allowed for that field, you must explicitly identify the number of significant digits in your definition. If the error recurs, please note all circumstances and contact Informix Technical Support.

Informix Error Code -1266 Intervals or Datetimes are incompatible for the operation.
Some arithmetic combinations of DATETIME, INTERVAL, and numeric values are meaningless and are not allowed. Review the arithmetic expressions in this statement. Possibly one of them is using a DATETIME or INTERVAL column or variable by mistake. If not, see your SQL reference material for the valid use of these data types.
Informix Error Code -1267 The result of a datetime computation is out of range.
In this statement, a DATETIME computation has produced a value that cannot be stored. This situation can occur, for example, if a very large interval is added to a DATETIME. Review the expressions in the statement, and see if you can change the sequence of operations to avoid the overflow.

Above are list of Informix Error Messages and Errors Codes or Status Codes or Exit Codes along with Error and Warning messages received while performing certain operation against Informix applications or related products.

What are Informix Error Messages?
All Informix messages returned by the Informix server are assigned an error code.

In general, each Informix error contains the following information:
• The Informix Error Code or Informix Error status
• The message text. This text is usually returned with the Error code. Some messages employ word substitution, where the word substituted represents the system-replacement of a term more specific to the occurrence.
• An explanation of how the error may have occurred.

Hope this was helpful.

SQLServerF1 Team
Information about Informix Error Codes or Status Codes or Exit Codes and Error Messages on Windows, Linux Operating Systems.


Leave a Reply

Your email address will not be published. Required fields are marked *