Hi,
Probably you can use the Month function available
select * from tab1 where abs(month(col1) - month(currentdate)) > 3
Thanks
Sateesh
Quote:
Originally posted by sesunda
I need to retreive data from a table with date column having dates 3 months earlier. Please let me know the date function to do the necessary manipulation.
|