ADD_MONTHS adds a specified integer number of calendar months to a date. LAST_DAY returns the date of the final day of the month that contains its date argument. CEIL returns the smallest integer greater than or equal to its argument and also accepts nonnumeric arguments that Oracle can implicitly convert to a numeric type.
Community Discussion