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
Post a Comment