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.
-
Windows7 / Windows8 kill process Linux下要刪除某個程序通常會使用 ps 配合 kill 來刪除程序。 例如:ps -ef |grep [PROCESS NAME] kill -9 [PID] 在Windows下,通常是...
-
利用Win 10的工作排程器來設定每日自動執行的批次檔,單獨執行批次檔沒問題,但是放在排程上就是無法執行。 後來試了幾種網路上提供的方式,其注意的事項如下: 1、在「安全性選項」選擇「只有使用者登入時才執行」並取消「以最高權限執行」。 2、在「設定」中選擇「Win...
-
因為寫程式時剛好用到sin、cos等數學函數,但是傳入值都是徑度(單位圓上角度所對的弧長為該角度的徑度), 而不是角度,所以找到了換算的方法,順道也記錄下來。 已知 pi=3.1415 已知 圓周長=半徑*2*pi 已知 一個圓有360度 所以 1徑度=半徑...