Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to use timeout in plsql

Parag NarkhedeJul 10 2013 — edited Jul 10 2013

Hi,

I have one procedure which calls a function. My requirement is if that function didnt return value in 1 minute then stop the exection of that function and call next statement.

Begin

(1).........

(2).......

(3) get_func_val:= function(1,2);

(4)......

(5)....

end;

My requirement is, if (3) doesnt return value in 1 minute, stop the execution of (3) and start executing (4).

Regards,

Parag

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2013
Added on Jul 10 2013
14 comments
3,110 views