Operations on tables of other users in procedure are not allowed to add, delete, modify, and query tables of other users directly. Steps to solve this problem: 1) grant the operation user the permission to add, delete, modify, and query; 2) perform 1) the operation, and then perform table operations for other users in procedure. SQL code grantselectanytable, in
Operations on tables of other users in procedure are not allowed to add, delete, modify, and query tables of other users directly. Steps to solve this problem: 1) grant the operation user the permission to add, delete, modify, and query; 2) perform 1) the operation, and then perform table operations for other users in procedure. SQL code grant select any table, in
Operations on tables of other users in procedure
In procedure, you cannot directly add, delete, modify, and query tables of other users. Steps to solve this problem: 1) grant the operation user the permission to add, delete, modify, and query; 2) perform 1) the operation, and then perform table operations for other users in procedure.
SQL code
Grant select any table,
Insert any table,
Update any table,
Delete any table,
Select any sequence
To user1, user2, user3;
In procedure, you can run the following statements:
Insert into user2.table2 (col1, col2, col3)
Select col1, col2, col3
From user1.table1;
Revoke select any table,
Insert any table,
Update any table,
Delete any table,
Select any sequence
From user1, user2, user3;