### 添加select权限 ``` grant select on USER1.TABLE to USER2; ``` ### user1的所有表的select权限赋给user2 ```sql --- 获取授权语句 select 'grant select on '||owner||'.'||object_name||' to user2;'from dba_objects where OWNER = 'user1' and object_type in ('TABLE'); ``` ### 添加创建同义词权限 ``` grant create synonym to USER2; ``` ### 创建同义词 ``` create or replace synonym TABLE for USER1.TABLE; ```