Extracting Year from the date field
qwe12654Aug 18 2010 — edited Aug 18 2010Hi,
I want to extract year from the date field... I've tried following code but got the error
SELECT to_char(a.A_EXPIRY_DATE,'yyyy') as EXP_YEAR from Table_A a
Please advice
Thanks in advance