oracle sqlplus下查询错误输出信息
2013-01-29 13:42
525 查看
SQL> !oerr ora 00271
00271, 00000, "there are no logs that need archiving"
// *Cause: An attempt was made to archive the unarchived redo log
// files manually, but there are no files that need to be archived.
// *Action: No action required.
方法:sql>!oerr ora 错误编号
即可查询详细错误信息及建议的操作
SQL> !oerr ora 1
00001, 00000, "unique constraint (%s.%s) violated"
// *Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
// For Trusted Oracle configured in DBMS MAC mode, you may see
// this message if a duplicate entry exists at a different level.
// *Action: Either remove the unique restriction or do not insert the key.
.
.
.
.
.
00271, 00000, "there are no logs that need archiving"
// *Cause: An attempt was made to archive the unarchived redo log
// files manually, but there are no files that need to be archived.
// *Action: No action required.
方法:sql>!oerr ora 错误编号
即可查询详细错误信息及建议的操作
SQL> !oerr ora 1
00001, 00000, "unique constraint (%s.%s) violated"
// *Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
// For Trusted Oracle configured in DBMS MAC mode, you may see
// this message if a duplicate entry exists at a different level.
// *Action: Either remove the unique restriction or do not insert the key.
.
.
.
.
.
相关文章推荐
- oracle sqlplus 查询大量数据不滚屏输出到文件
- oracle的sqlplus查询输出到一个文件
- oracle的sqlplus查询输出到一个文件
- Jfinal中使用日志框架输出完整sql语句信息(mysql+oracle)
- Oracle EBS-SQL (SYS-13):查询DBA在系统中的打Patch的信息.SQL
- Oracle EBS供应商信息查询SQL语句
- sqlplus中输出自定义信息
- 在Oracle的SQL*PLUS中启用AutoTrace查看SQL执行计划和统计信息
- 解决oracle 10g sql *plus 用dbms_output.put_line()输出时的长度限制问题 ORA-20000: ORU-10028: line le
- Oracle Study之案例--Oracle Sqlplus错误
- oracle查询总成绩前十的学生信息sql
- Oracle:sqlplus查询出的中文是乱码问题的解决
- oracle的sqlplus登陆的时候老报错:ORA-12560: TNS: 协议适配器错误
- oracle cmd窗口输入sqlplus / as sysdba 报协议适配器错误 解决方案
- 安装完Oracle 11G R 2之后,sqlplus / as sysdba 的时候报如下的错误
- oracle新建用户执行sql查询语句出现错误ORA-00942:表或视图不存在
- Oracle性能-查询统计信息的SQL语句
- Oracle java存储过程在sqlplus中的调试信息显示
- sqlplus登录oracle时ORA-01017: invalid username/password; logon denied的错误
- sqlplus登录oracle时ORA-01017: invalid username/password; logon denied的错误