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...
-
Excel有許多實用的公式,善用這些公式可以達成大部份的功能,但是萬一公式無法滿足需求時,可以自訂公式來解決。 自訂公式其實就是自訂函數,先開啟Visual Basic(VBA) 新增一個「模組」 ...
-
今天我騎單車上班,經過河華路時,發現路旁的行道樹下不斷飄著黃色花瓣,原本我已經騎遠了,但是突然想起「我與浪漫相約在花雨中」,於是我折回去,在一張公共的長椅坐下,拿出應該在辦公室匆匆吃完的早餐,與浪漫一起享用。花雨不濕衣,卻沾身,低頭時,我看見胸口有殘花,是它們輕輕留下的證據。 ...