Display YEARS between two dates
There are two requirements for which I need you help.
Based on the from and to date the years should be displayed.
For example the from date is 01-JAN-07 and end date is 31-SEP-10 the query should return as follows :
Requirement 2 :
For example the from date is 01-JAN-07 and end date is 31-FEB-08 the query should return as follows :
Kindly help in providing the soltuion.