June 2016
Intermediate to advanced
388 pages
5h 49m
English
In this recipe, you'll use code base access control with invoker's rights procedure.
To complete this recipe, you'll use a user who has a DBA role.
zoran), create proc_user, and grant him the create session privilege:SQL> create user proc_user identified by oracle1; SQL> grant create session to proc_user;
tbl1 and insert test data:SQL> create table tbl1(a number, b varchar2(30)); SQL> insert into tbl1 values (1, 'old_value'); SQL> commit;
UpdateTbl1 and grant execute on that procedure to proc_user:CREATE OR REPLACE PROCEDURE UpdateTbl1 (x IN number, y IN varchar2) AUTHID ...
Read now
Unlock full access