我試圖調試在Sybase長的存儲過程,我得到一個錯誤信息,如:
如何轉換Sybase錯誤消息偏移到存儲過程行號
Number (257) Severity (16) State (1) Server (DZUCRINSI225) Procedure (Calculate_FX_Haircut) Implicit conversion from datatype 'CHAR' to 'NUMERIC' is not allowed. Use the CONVERT function to run this query. (4068EE10)
我不知道在哪裏SP中發生錯誤。我怎樣才能找到它?我猜想消息中的'4068EE10'可能是偏移量,但我不知道如何利用它來查找行號。誰能幫忙?
我應該補充說我正在使用Embarcadero Rapid SQL作爲Sybase服務器的接口。我不確定'4068EE10'是由Sybase還是Embarcadero添加的。
顯示SP代碼可能會有所幫助 – BlackTigerX