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 -> Re: adding delay/pause/sleep inside oracle stored procedure

Re: adding delay/pause/sleep inside oracle stored procedure

From: DA Morgan <damorgan_at_psoug.org>
Date: Mon, 08 Jan 2007 17:39:46 -0800
Message-ID: <1168306783.659466@bubbleator.drizzle.com>


jobs wrote:
> What's the best way to add a 500 second delay/pause/sleep inside an
> oracle stored procedure?
>

BEGIN

   dbms_backup_restore.sleep(100);
   dbms_drs.sleep(150);
   dbms_lock.sleep(250);

END;
/

But yeah ... why?

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Mon Jan 08 2007 - 19:39:46 CST

Original text of this message

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