2012年9月9日 星期日

informix error 720

撰寫informix stored procedure 或function真是一件苦差事.

debug的環境只能利用set debug file 的方式.

在用慣windows UI的開發模式後, 在dbaccess terminal mode模式下開發,心中真的有很多無形的排斥感


720: The number of returned values and of SPL variables do not match.

建立stored procedure 沒有錯誤
執行階段,出了這個錯誤, 但也沒告知到底是哪行出的錯誤

原來是我select ... into ...眾多的欄位中,少了一個欄位與變數的mapping

找到我眼花.
 


沒有留言:

張貼留言

離線安裝SSMS 22 launched extracted application exiting with result code 0x138b

SSMS 22 安裝器下載頁面 https://learn.microsoft.com/zh-tw/ssms/install/install https://aka.ms/ssms/22/release/vs_SSMS.exe 將安裝檔下載到本機,檔案好大2.5G  https:...