Oracle Database - ORA-01720 - grant option does not exist for 'AnObject'
2015-09-07 10:17
946 查看
Description
当一个不是 MY_TABLE 这个表的 Owner - NOT_OWNER_USER 试图 grant MY_TABLE 的权限时,报错:Error report: SQL Error: ORA-01720: grant option does not exist for 'OWNER_SCHEMA".MY_TABLE' 01720. 00000 - "grant option does not exist for '%s.%s'" *Cause: A grant was being performed on a view and the grant option was not present for an underlying object. *Action: Obtain the grant option on all underlying objects of the view.
Caused By
NOT_OWNER_USER 不是 MY_TABLE 的 Owner,并且没有得到 Owner给它的可以向下grant 的权限(Owner 虽然没有给 NOT_OWNER_USER向下授权的权限,但是可能给了其 select或者 update的权限)。Solution
GRANT SELECT ON "OWNER_SCHEMA"."MY_TABLE" TO "NOT_OWNER_USER" WITH GRANT OPTION;
References
Oracle Database - ORA-01720 - grant option does not exist for 'AnObject'Grant privilges error to the schema
相关文章推荐
- oracle数据库表的解锁问题
- oracle 10g dataguard物理standby配置 (数据文件以文件系统存储)
- oracle加固
- ORACLE 数据库 rman 全备份
- oracle完全删除表空间
- Oracle pctfree和pctused详解
- 解决在mybatis中使用CTE进行oracle查询数据类型为long的字段出现流关闭问题
- 解决在mybatis中使用CTE进行oracle查询数据类型为long的字段出现流关闭问题
- oracle的备份与恢复
- JDBC连接Oracle数据库时出现的ORA-12505错误及解决办法
- oracle9i与10g与11g的区别
- wampServer连接oracle
- oracle 10g的long类型处理bug
- Mysql与Oracle的区别
- oracle安装和介绍
- Oracle数据库中的优化方案
- Oracle数据库表更新问题
- Python cx_Oracle 安装小记
- Oracle表与索引的分析及索引重建
- Migrate table to another Oracle Server-01