Unix/Linux內查詢Oracle錯誤代碼
可以用指令 oerr 在Unix/Linux內查詢Oracle錯誤代碼的意義
$ oerr --help
Usage: oerr facility error
Facility is identified by the three-letter prefix in the error
string. For example, if you get ORA-7300, "ora" is the facility
and "7300" is the error. So you should type "oerr ora 7300".
If you get LCD-111, type "oerr lcd 111", and so on.
如果得到 lcd-100 的錯誤
$ oerr lcd 100
100, 0, "internal error, argument [%d]"
// *Cause: An internal error has occurred
// *Action: Report it to your System Administrator immediately
如果得到 ora-06504
$ oerr ora 06504
06504, 00000, "PL/SQL: Return types of Result Set variables or query do not match"
// *Cause: Number and/or types of columns in a query does not match declared
// return type of a result set variable, or declared types of two Result
// Set variables do not match.
// *Action: Change the program statement or declaration. Verify what query the variable
// actually refers to during execution.

-
在電腦版的Line輸入文字時,遇到需要換行的情形時,我都是用記事本先寫好再複製上去,這樣就可以有換行的效果,可是這樣的做法好像失去Line的便利性。 於是查了一下,原來有一個設定可以指定Enter換行,而不是發訊息出去。 完成設定之後,要發送訊息就改用Al...
-
Windows7 / Windows8 kill process Linux下要刪除某個程序通常會使用 ps 配合 kill 來刪除程序。 例如:ps -ef |grep [PROCESS NAME] kill -9 [PID] 在Windows下,通常是...
-
Excel有許多實用的公式,善用這些公式可以達成大部份的功能,但是萬一公式無法滿足需求時,可以自訂公式來解決。 自訂公式其實就是自訂函數,先開啟Visual Basic(VBA) 新增一個「模組」 ...