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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Writing a delay in PL/SQL?

Re: Writing a delay in PL/SQL?

From: Peter Gram <peter.gram_at_miracleas.dk>
Date: Sat, 29 Nov 2003 17:49:24 -0800
Message-ID: <F001.005D82E9.20031129174924@fatcity.com>


Hi

try DBMS_LOCK.SLEEP (seconds IN NUMBER);

      /peter

Jonathan Gennick wrote:

>I know this is going to sound rather crazy, but I want to
>write an INSERT trigger that imposes an arbitrary delay, say
>a half second, or maybe a full second, on each and every
>insert operation. Does anyone know offhand whether there's a
>built-in PL/SQL procedure to just wait for a specified
>period of time? Any suggestions on how I can go about
>implementing this trigger?
>
>Best regards,
>
>Jonathan Gennick --- Brighten the corner where you are
>http://Gennick.com * 906.387.1698 * mailto:jonathan@gennick.com
>
>Join the Oracle-article list and receive one
>article on Oracle technologies per month by
>email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article,
>or send email to Oracle-article-request_at_gennick.com and
>include the word "subscribe" in either the subject or body.
>
>
>

-- 
Peter Gram
 
comp  : Miracle A/S
Addr  : Kratvej 2, 2760 Maaloev 
Phone : +45 2527 7107, Fax : +45 4466 8856, Home +45 3874 5696
mail  : peter.gram@MiracleAS.dk - http://www.miracleas.dk

Upcoming events:

Miracle Master Class with Tom Kyte, 12-14 January 2004
Visit   http://miracleas.dk/en/events.html#MasterClass

Visit http://www.miracleas.dk fore news !




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Peter Gram
  INET: peter.gram_at_miracleas.dk

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).
Received on Sat Nov 29 2003 - 19:49:24 CST

Original text of this message

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