首页 » ORACLE, 精选软件 » windows配置oerr 查询oracle错误

windows配置oerr 查询oracle错误

在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

打赏

目前这篇文章有1条评论(Rss)评论关闭。

  1. Nicky Wrenn | #1
    2011-12-21 at 08:09

    It is perfect time to make some plans for your future and it is time to be pleased. I have read this publish and if I could I wish to suggest you few interesting things or suggestions. Perhaps you can write next articles referring to this informative article. I desire to read more things about it!