在linux 上很容易查询 oracle的错误编码,得到提示、原因、及大概解决思路,但windows操作系统就没有办法应用oerr查询错误了,但是有群国外的哥们实现了在windows上使用oerr的方法
C:\\>oerr ora 1
ORA-00001 unique constraint (string.string) violated
Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
Action: Either remove the unique restriction or do not insert the key.
C:\\>oerr imp 1
IMP-00001 respond with either string, string, RETURN or '.' to quit
Cause: An invalid response was entered.
Action: Enter any of the responses shown in the message.
C:\\>oerr PLS-00103
PLS-00103: string
Cause: This error message is from the parser. It found a token (language element
...
先下载官方错误文档
wget -r -l 1 http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/toc.htm
安装perl语言环境
编译一段perl脚本
具体方法可以参考
http://yong321.freeshell.org/freeware/Windowsoerr.html
C:\\>oerr ora 1
ORA-00001 unique constraint (string.string) violated
Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
Action: Either remove the unique restriction or do not insert the key.
C:\\>oerr imp 1
IMP-00001 respond with either string, string, RETURN or '.' to quit
Cause: An invalid response was entered.
Action: Enter any of the responses shown in the message.
C:\\>oerr PLS-00103
PLS-00103: string
Cause: This error message is from the parser. It found a token (language element
...
先下载官方错误文档
wget -r -l 1 http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/toc.htm
安装perl语言环境
编译一段perl脚本
具体方法可以参考
http://yong321.freeshell.org/freeware/Windowsoerr.html
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。