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!

skip the sql statement for limit of time

KK23Sep 18 2017 — edited Sep 22 2017

Hi All,

we have requirement , i have created the procedure inside there will be updated statement. if update statement peform more thatn 3 minutes ,Need to skip the statement and proceed futher.

Ex.

Begin

Update Emp set emp_sal = emp_sal * 100

where emp_id = '12234';

INSERT INTO DEP (ID, NAME) VALUES ('01','ADSFAS');

COMMIT;

END;

above update statement perform more than 3 minutes , need to skip the statement and proceed insert statement in the following.

Need your help to adivise how to write the program.

This post has been answered by Gaz in Oz on Sep 18 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2017
Added on Sep 18 2017
5 comments
265 views