Skip to Main Content

APEX

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!

Problem creating a stored procedure that has an UPDATE statement in APEX 5.0.3

Dominic SurraoDec 1 2019 — edited Dec 3 2019

I am running into an issue on iacademy3.oracle.com (APEX), when trying to create a stored procedure which has an UPDATE statement. Executing the creation script from either "SQL Commands" or "SQL Scripts" causes the web page to hang. Stored procedures with INSERT statements get created without a problem.

Here is an example of a script that fails:

create or replace procedure p_update_salary (

    p_employee_id employees.employee_id%type,

    p_salary employees.salary%type

)

as

begin

    update employees set salary = p_salary

    where employee_id = p_employee_id;

end;

Any ideas why this is happening?

Thanks.

This post has been answered by Dominic Surrao on Dec 3 2019
Jump to Answer
Comments
Post Details
Added on Dec 1 2019
5 comments
406 views