issue with Add_month in oracle , I need to generate billing cycle
问题 I have a requirement to generate to Billing cycle date, ex if My input is 27th March then my next cycle starts from 27 april. If input is 10th Jan then next cycle should start from 10th Feb. I am using Oracle Add_Month(i/p Date, 1). This add a new month and give me same date for next month, working fine for above mentioned dates. But there is one corner case when my Input date is 28th Feb, 2018 and If I do select ADD_MONTHS(date '2018-02-28', 1) from dual then output is 31st March,2018. I am