An SQL expression was expected of one of the types TIME, 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 time or a timestamp.
The SQL query is terminated.
None.