数据库常见问题(一)

时间:2018-02-13 17:59:54   收藏:0   阅读:1309

问题: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: 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中要更新的某个字段的长度超过了数据库表中字段的定义长度。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!