An SQL expression was expected of one of the types DATE, TIMESTAMP, CHAR, VARCHAR, or INTERVAL as the operand to the EXTRACT function. In the case of CHAR or VARCHAR, the expression must be a valid character string representation of a date or a timestamp.
The SQL query is terminated.
None.