Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sleep-functionality within PL/SQL
You can use DBMS_LOCK.SLEEP(time in seconds)
Juergen Diet wrote:
> How can I suspend the execution of a PL/SQL-program for a
> certain time? In SQL*Plus, I would issue the command "host sleep 60"
> to wait for one minute. Is there a similar possibility within PL/SQL?
> I know that in Oracle8 I can call external functions from PL/SQL
> and could write a little C-program that does the sleep, but I am still
> using Oracle V7.3.
> Any ideas?
> Regards,
> ------------------------------------------------------------
> Juergen Diet
> mailto:juergen.diet_at_mch.sbs.de
> ------------------------------------------------------------
>
Received on Sat Sep 12 1998 - 08:28:27 CDT