查詢用戶擁有的對象操作權限
select * from dba_tab_privs where grantee='USERA';
給USERB授權USERA用戶下所有表的權限腳本生成語句
select 'grant select,insert,update,delete on '||owner||'.'||object_name|| ' to USERB;'
from dba_objects
where object_type='TABLE' and owner='USERA';