用户user2想在存储过程中查询用户User1的表table1,
在PL/SQL中用user1登陆,执行以下语句即可:
grant select on User1.table1 to user2;
用户user2想在存储过程中查询用户User1的表table1,
在PL/SQL中用user1登陆,执行以下语句即可:
grant select on User1.table1 to user2;
转载于:https://www.cnblogs.com/flyrain/p/oracle_grant.html