I have a table with a lot of columns and a few million rows.
One colum has column type "DATE":
DATE_ID |
---|
2022-10-01 |
2022-10-02 |
2022-10-03 |
... |
Exasol does manage indexes itself so you can't set one.
When I need the month of the date is it better to use
EXTRACT(MONTH FROM DATE_ID)
or to use
MONTH(DATE_ID)
in terms of performance?
https://docs.exasol.com/db/latest/sql_references/functions/alphabeticallistfunctions/extract.htm https://docs.exasol.com/db/latest/sql_references/functions/alphabeticallistfunctions/month.htm