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

Home -> Community -> Usenet -> c.d.o.server -> Re: how to loop table every 1 second for no more than 4 seconds

Re: how to loop table every 1 second for no more than 4 seconds

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Mon, 27 Nov 2006 20:53:26 +0800
Message-ID: <456ADFC6.3094@yahoo.com>


Jun wrote:
>
> I have a problem with PL/SQL stored procedure.
>
> loop, checking the table every 1 second for no more than 4 seconds
> if response that one specifid field in table is changed, return a
> message
> if no response is found in 4 seconds, return a timeout error
>
> Thanks in advance for any help

If you are trying to respond to the creation/alteration of a row in a table, check out AQ and/or PLSQL asynchronous call back.

hth
connor

-- 
Connor McDonald
Co-author: "Mastering Oracle PL/SQL - Practical Solutions"
Co-author: "Oracle Insight - Tales of the OakTable"

web: http://www.oracledba.co.uk
web: http://www.oaktable.net
email: connor_mcdonald_at_yahoo.com


"Semper in excremento, sole profundum qui variat."

------------------------------------------------------------
Received on Mon Nov 27 2006 - 06:53:26 CST

Original text of this message

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