An easier and more accurate method would be to create a column
in the table and populate it with a sequence.
When you run your query, include in the WHERE clause
' and my_sequence_num > sequence_last_time_i_checked '
You would just need to record the last sequence number
checked in a single row table.
Jared
"Lance Prais" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
01/24/02 10:55 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:
Subject: Time Question
I am not sure how to ask this or if it is even possible. I have a stored
procedure that runs every five minutes and writes the data to a table. I
want to query every thirty minutes and group the rows from the last half
our.
would I used date difference?
Thank you in advance
lance
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Lance Prais
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).