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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

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

javascript - Restarting Supervisor and effect on FlaskSocketIO -