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

Home -> Community -> Mailing Lists -> Oracle-L -> AW: PL/SQL Question

AW: PL/SQL Question

From: Haunschmidt Andreas VASL/FAS <Andreas.Haunschmidt_at_voest.co.at>
Date: Fri, 11 May 2001 13:03:39 -0700
Message-ID: <F001.00301146.20010511090612@fatcity.com>

Hi:
  use the procedure:
  dbms_lock.sleep(seconds);

HTH
> ----------
> Von: dmeng_at_focal.com[SMTP:dmeng_at_focal.com]
> Gesendet: Freitag, 11. Mai 2001 17:20
> An: Multiple recipients of list ORACLE-L
> Betreff: PL/SQL Question
>
> I need to whip out a PL/SQL procedure real quick today and have a quick
> question for fellow-listers ( since today is Friday, hopefully I don't get
> RTFMed on this one :) )
> The purpose of my procedure is to collect stats from v$session_wait
> periodically ( every second for example) and pump the data into a stats
> table.
> But how to make the procedure to wait for a specified time? I know of the
> option of using dbms_jobs to handle this. But I am wondering if there is a
> similar
> function in PL/SQL similar as the Unix 'sleep' command.
>
> TIA
>
> Dennis Meng
> Database Administrator
> Focal Communications
> 847-954-8328
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: dmeng_at_focal.com
>
> 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: 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Haunschmidt Andreas VASL/FAS
  INET: Andreas.Haunschmidt_at_voest.co.at

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: 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 Fri May 11 2001 - 15:03:39 CDT

Original text of this message

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