I need to add the current year as a variable in an SQL statement, how can I retrieve the current year using SQL?
i.e.
BETWEEN TO_DATE(\'01/01/**
Yet another option would be:
SELECT * FROM mytable WHERE TRUNC(mydate, 'YEAR') = TRUNC(SYSDATE, 'YEAR');