Previous Topic: -230 - THE VALUE OF A NODE IS OUT OF RANGE: xxxxNext Topic: -232 - NO AM OR PM FOUND IN TIME CHARACTER STRING WITH ONE COLON: xxxx


-231 - NUMBER OF SLASHES IS n, ONLY TWO ALLOWED: xxxx

Explanation

The DATE/TIME function is scanning a character string to determine its DATE/TIME format but has detected invalid characters in the string. The query you issued probably contains a character string representation of a date, time, or TIMESTAMP in an invalid format. n represents the number of slashes in the character string. xxxx represents the character string. See the CA Datacom/DB SQL User Guide for correct formats.

The SQLSTATE that equates to this SQL return code is 22007.

User Response

Ensure the character string in the query is the proper format.