Recommended Use of DATE and DTTM Index Types

Use a DATE or DTTM index when the DATE, DATETIME, or TIMESTAMP column is used in queries containing date and time functions and operations.

Note: For a simple equality predicate (no DATEPART) with a DATE, DATETIME, or TIMESTAMP column, LF and HG indexes provide the best performance. If an LF or HG index is unavailable, the DATE or DTTM index is used to get the result.

If a DATE, DATETIME, or TIMESTAMP column is used in the GROUP BY clause or in the WHERE/HAVING clauses for equalities (including join conditions) or IN predicates, the column needs an LF or HG index, as only these indexes can perform fast equality.

The table tab used in the examples contains columns defined as follows:
CREATE TABLE tab
(col1 DATE,
 col2 DATETIME,
 col3 TIME);