BIP2460
Severity
20 : Error
Message
Error casting character string <insert_3> to a DATE. State = <insert_1> <insert_2> '0' '
Explanation
A character string must have the form 'DATE 'yyyy-mm-dd', or 'yyyy-mm-dd' for it to be castable to a date.
Response
Ensure that the string being cast has a valid value.