Query Normalization

In query normalization, referenced objects are verified and data type compatibility is checked.

For example, consider this query:

SELECT * 
FROM t1 
WHERE c1 = 10

The query normalization stage verifies that table t1 with a column c1 exists in the system tables. It also verifies that the data type of column c1 is compatible with the value 10. If the column's data type is DATETIME, for example, this statement is rejected.