Connor and Chris will both be at AI World from October 12 to October 17 , the premier Oracle conference of 2025. If you're in Vegas, please come say Hi or pop into our sessions
Thanks for the question, vinodha.
Asked: January 10, 2017 - 4:19 pm UTC
Last updated: January 11, 2017 - 2:00 am UTC
Version: 3.2.20.09
Viewed 1000+ times
SQL> create table t ( ts timestamp ); Table created. SQL> insert into t select systimestamp from dual; 1 row created. SQL> insert into t select systimestamp from dual; 1 row created. SQL> insert into t select systimestamp from dual; 1 row created. SQL> SQL> SQL> select 'timestamp '||chr(39)||to_char(ts,'yyyy-mm-dd hh24:mi:ss.ff')||chr(39) 2 from t; 'TIMESTAMP'||CHR(39)||TO_CHAR(TS,'YYYY-MM ----------------------------------------- timestamp '2017-01-11 09:59:38.156000' timestamp '2017-01-11 09:59:38.163000' timestamp '2017-01-11 09:59:38.171000'
Share and learn SQL and PL/SQL; free access to the latest version of Oracle Database!
Classes, workouts and quizzes on Oracle Database technologies. Expertise through exercise!