Convert number to date sql oracle -


i'm trying convert number (yyyymmdd) date (mm/dd/yyyy)

for example

20150302 ====> 03/02/2015 

you can try this:

select to_date(20150302,'yyyymmdd') dual; 

or

select to_char(to_date(20150302,'yyyymmdd'),'mm/dd/yyyy') dual; 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -