26.查看oracle某个错误代码


我们经常会在oracle的告警日志中看到关于ORA-xxxx这样的错误,可能有时候这种报错信息显示不是很完整,那么我们可以使用如下命令进行查看:

[oracle@node04 ~]$ oerr ora 30012
30012, 00000, "undo tablespace '%s' does not exist or of wrong type"
// *Cause:   the specified undo tablespace does not exist or of the
//           wrong type.
// *Action:  Correct the tablespace name and reissue the statement.

3002是错误代码。