ORA-02189: ON required
Cause: In a grant or revoke statement, the user specified a tablespace quota but did not follow it with the ON clause.
Action: Specify the tablespace on which the quota is to be applied with the ON clause.
ORA-02189: ON 具体指Oracle数据库不支持指定表空间上的操作。
ORA-02189: ON clause is not supported
此错误提示Oracle数据库暂不支持在指定的表空间上进行操作。
此错误通常发生在当使用ALTER TABLESPACE语句为表空间设置属性时:
ALTER TABLESPACE users ON data;
1、为了避免出现此报错,需要把ON语句去掉;
2、为了修复此错误,建议先用DESCRIBE命令检查一下表空间是否存在,再相关命令操作:
DESCRIBE tablespace users;