ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ora-00604 ORA-01422

ora-00604 ORA-01422

原创 Linux操作系统 作者:sieper 时间:2010-06-13 16:12:06 0 删除 编辑

Microsoft Windows [版本 6.1.7600]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 6月 13 15:55:02 2010

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn sys/sys@orcl as sysdba
已连接。
SQL> select  * from dual;

D
-
1

SQL> conn test/test@orcl
已连接。
SQL> select  * from dual;

D
-
1

SQL> drop table ljy;
drop table ljy
*
第 1 行出现错误:
ORA-00604: 递归 SQL 级别 1 出现错误
ORA-01422: 实际返回的行数超出请求的行数


SQL> conn sys/sys@orcl as sysdba
已连接。
SQL> delete from dual;

已删除 1 行。

SQL> commit;

提交完成。

SQL> select * from dual;

D
-
1

SQL> grant dba to test;

授权成功。

SQL> conn test/test@orcl as sysdba
ERROR:
ORA-01031: 权限不足


警告: 您不再连接到 ORACLE。
SQL> conn test/test@orcl;
已连接。
SQL> delete from dual;

已删除 1 行。

SQL> commit;

提交完成。

SQL> drop table ljy purge;

表已删除。

SQL> drop table ljy1 purge;

表已删除。

SQL> conn sys/sys@orcl as sysdba
已连接。
SQL> revoke dba from test;

撤销成功。

SQL>

引发的问题  select sysdate from dual没有值了
 
->>>待解决

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11813230/viewspace-665290/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-03-17

  • 博文量
    87
  • 访问量
    210535