把某用户可操作所有表的权限赋予给新用户的命令select grant select on ||table_name || to test2 f
把某用户可操作所有表的权限赋予给新用户的命令
select 'grant select on '||table_name ||' to test2 ;' from all_tables where owner='TEST1'??;
用此命令生成批量处理语句,然后直接执行
把某用户可操作所有表的权限赋予给新用户的命令
select 'grant select on '||table_name ||' to test2 ;' from all_tables where owner='TEST1'??;
用此命令生成批量处理语句,然后直接执行