Previous Topic: -236 - NUMBER OF DASHES CAN ONLY BE 3. FOUND nNext Topic: -238 - UNRECOGNIZABLE DATE/TIME FORMAT: xxxx


-237 - NUMBER OF DIGITS FOR MICROSECONDS CANNOT EXCEED 6, FOUND n: 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. n represents the number of digits found in the character string. xxxx represents the character string. The query you issued probably contains a character string representation of a date, time, or TIMESTAMP in an invalid format. See the CA Datacom/DB SQL User Guide for correct formats.

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

User Response

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