您的位置:首页 > 数据库 > Oracle

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.

.

.

.

.

.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: