ANR2922E
The SQL data type of expression 'expression' is data type; expecting a date, timestamp, character string date, character string timestamp, or interval expression.

Explanation

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.

System action

The SQL query is terminated.

User response

None.