how to convert date into month number?

后端 未结 7 1769
闹比i
闹比i 2021-01-19 14:40

I have a column Month in my table. The month name and date are stored in this month column like

Month    
01-JAN-12 
02-FEB-12 
         


        
7条回答
  •  失恋的感觉
    2021-01-19 14:48

    You can use the "DatePart" function too :

    http://docs.oracle.com/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/dml/funcs/datepart.htm

提交回复
热议问题