Multi-Schema Privileges for a Table Trigger in an Oracle Database

后端 未结 3 1569
暗喜
暗喜 2021-01-19 11:03

I\'m trying to write a table trigger which queries another table that is outside the schema where the trigger will reside. Is this possible? It seems like I have no proble

3条回答
  •  半阙折子戏
    2021-01-19 11:27

    You should execute this for every table and schema involved:

    grant select on OTHER_SCHEMA_%.table_name to MAIN_SCHEMA;
    

提交回复
热议问题