Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pause a stored procedure

James BorgMar 16 2005 — edited Mar 18 2005
Hi all,

I need to pause a stored procedure half way through for 30 seconds.

I tried using dbms_lock.sleep but get error PLS-00201: identifier 'dbms_lock.sleep' must be declared.
What am i doing wrong or is there another method?

Thanks
James


create procedure pause_testing

is
begin

-- some statments here

dbms_lock.sleep(30);

-- some other statments here

-- exception statments

end;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2005
Added on Mar 16 2005
5 comments
722 views