The data dictionary consists of three main sets of
static views distinguished from each other by their
scope:
• DBA: What is in all the schemas
• ALL: What the user can access
• USER: What is in the user's schema这里我对ALL的描述不是很理解,没明白什么意思。ALL是一种角色么?还是一种范围??
请前辈指点

解决方案 »

  1.   

    ALL包括当前用户自己的,还有不是当前用户自己的但是当前用户能访问的,即其他用户将对象权限授予你的。如ALL_TABLES表,用户a1查询all_users表时出现了a2用户下的表,说明用户a2将其查询权限授予了a1,其授权语句为(在a2下执行,表名为a2tab):SQL>GRANT SELECT ON a2tab TO a1;