BIP2476
Severity
20 : ErrorMessage
(<insert_0>, <insert_1>) : Illegal argument type for EXTRACT function called with value '<insert_2>'.Explanation
The argument to the EXTRACT function must be a datetime or interval valued expression. The EXTRACT function was called with the value '<insert_2>'.Response
Ensure that the argument supplied to the EXTRACT function is a datetime or an interval.