I do have a requirement like I need to calculate a person age with sysdate. Calculating the persons age should be exactly greater or lesser than 75years and 09 months with the sysdate. but at some scnearios its not working out. can any one of help with this issues.
IF TO_CHAR(bday,'mm/dd')='02/29' THEN
age = ADD_MONTHS(bday-1,12*75);
ELSE
age = ADD_MONTHS(bday,12*75);
END IF;
but this is not working at some conditions. could anyone help with this requirement