資料庫常見問題(一)
阿新 • • 發佈:2018-12-21
問題:ERROR BGJOB_2]com.kingdee.bos.dao.ormapping.SQLAccessException: update data error.Error for batch element #1: The value of a host variable in the EXECUTE or OPEN statement is out of range for its corresponding use.. SQLCODE=-302, SQLSTATE=22001, DRIVER=3.68.61
Caused exception message is: DataLimit
Caused exception message is: DataLimit
Caused exception message is: Error for batch element #1: The value of a host variable in the EXECUTE or OPEN statement is out of range for its corresponding use.. SQLCODE=-302, SQLSTATE=22001, DRIVER=3.68.61
原因:sql中要更新的某個欄位的長度超過了資料庫表中欄位的定義長度。