Thanks for the question, santhoshreddy.
Asked: August 21, 2017 - 2:06 am UTC
Last updated: August 22, 2017 - 3:36 am UTC
Version: 12C
Viewed 10K+ times! This question is
SQL> create table t as select sysdate d from dual; Table created. SQL> SQL> select * from t; D --------- 22-AUG-17 1 row selected. SQL> SQL> alter session set nls_date_format = 'yyyy/mm/dd'; Session altered. SQL> SQL> select * from t; D ---------- 2017/08/22 1 row selected. SQL> SQL> alter session set nls_date_format = 'dd/mm/yyyy hh24:mi:ss'; Session altered. SQL> SQL> select * from t; D ------------------- 22/08/2017 11:34:33 1 row selected.
Milind, August 22, 2017 - 8:12 am UTC
Need more information on Administration? Check out the Administrators guide for the Oracle Database