Why doesn't PL/SQL respect privileges granted by Roles?

后端 未结 5 941
我在风中等你
我在风中等你 2021-01-14 15:26

When executing a PL/SQL block, any privileges granted to roles are ignored. Instead you must give specific users specific grants to run it. If I want to give DBAs access to

5条回答
  •  我在风中等你
    2021-01-14 16:03

    I'm think it is some historical heritage. When changing ROLE's object privs Oracle would have re-compile a lot of PL/SQL stored code. PS: you can also create something called "SCHEMA".

    See CREATE SCHEMA statement.

提交回复
热议问题