Oracle Date - How to add years to date

后端 未结 7 2039
温柔的废话
温柔的废话 2020-12-05 17:38

I have a date field

DATE = 10/10/2010

sum = 4 (this are number of years by calculation)

is there a way to add four years to 10/10

相关标签:
7条回答
  • 2020-12-05 17:52

    You can try this:

    someDate + interval '4' year

    INTERVAL

    0 讨论(0)
提交回复
热议问题