Skip to Main Content

Oracle Database Discussions

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!

sysdate - 1 with timestamp...

khallas301Feb 22 2013 — edited Feb 22 2013
friends.. I am trying to test query on oracle test database to list all tables created yesterday with timestamp...
spend 1 hours or so then decided to put here just in case I'm making some silly mistake....

I can get result without timestamp
testdb_sql> select owner, object_name, created from dba_objects
where trunc(created) >= trunc(sysdate-1/24);
don't want to use to_char function... and tried to_date() variations with no result....

rp sb... are you around??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2013
Added on Feb 22 2013
11 comments
9,862 views