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!

How to select records inserted in a table in last 30 mins

Satyam ReddyDec 3 2010 — edited Dec 3 2010
I need to select the records inserted or generated in the basic scott.emp table assuming date created is a new column which inserts the time at the time of creation
 
select * from emp where  (date_Created) between  (sysdate -30/1440) and sysdate;
Does the above code works or should i need to look something new


Please advise

Regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2010
Added on Dec 3 2010
6 comments
5,133 views