Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need help in to_char function

998158Aug 16 2013 — edited Aug 16 2013

Hi All,

I'm using below sql query to get sysdate with time stamp.

select to_char(sysdate,'YYYYMMDD HH24:MM:SS') from dual

This gives me below result:  20130816 05:08:49

Strangely, when I keep on running the same query, I notice after 60 seconds are complete, time stamp starts with  20130816 05:08:01 again.

Am i missing something here..

Thanks in advance

This post has been answered by BCV on Aug 16 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2013
Added on Aug 16 2013
9 comments
912 views