Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> how to get the entries from the last 2 hours?

how to get the entries from the last 2 hours?

From: Angela <hippie_at_gmx.ch>
Date: 11 Dec 2001 06:42:15 -0800
Message-ID: <ccb8a584.0112110642.35cf2bb7@posting.google.com>


hi all

does somebody know how i cant get the entries from a database which were added in the last 2 hours?? i tried it like this: select * from logdata where timestamp > (SYSDATE - TO_DATE('2', 'HH24'))

i also tried id without '' but it isn't working at all :((

thanks a lot

angela Received on Tue Dec 11 2001 - 08:42:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US