oracle赋权


1.赋给B用户能够查询A用户下面所有数据:

select 'grant select on A.' || tname || ' to B;' from tab; 示例: GRANT SELECT ON A.tablename to B;

2.用某个用户登录之后:

select 'grant select on '||table_name||' to B;'  from user_tables;

3.序列从A赋给B:

select 'grant select on ' || sequence_name || ' to B;' from dba_sequences where sequence_owner='A';


你可能感兴趣的:(Oracle)