The AskTOM team is taking a break over the holiday season, so we're not taking questions or responding to comments. Please have a happy and safe festive season and as always, thanks for being a member of the AskTOM community.
Thanks for the question, Kavya.
Asked: June 07, 2018 - 10:26 am UTC
Last updated: June 11, 2018 - 7:08 am UTC
Version: Version 3.0.04
Viewed 1000+ times
SQL> create table t ( x varchar2(10)); Table created. SQL> SQL> insert into t values ('20180327'); 1 row created. SQL> SQL> select 2 to_char( 3 to_date(x,'yyyymmdd'),'dd/mm/yyyy') from t; TO_CHAR(TO ---------- 27/03/2018
Check out more PL/SQL tutorials on our LiveSQL tool.
PL/SQL reference manual from the Oracle documentation library