码迷,mamicode.com
首页 > 其他好文 > 详细

ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in..的错误 [转]

时间:2015-04-28 01:54:40      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

问题: ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in..的错误

解决方法:

  把没被singed的变量临时变更signed去处理。

  select (cast(col1 as signed)-cast(col2 as signed)) asresult fromTable;

ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in..的错误 [转]

标签:

原文地址:http://www.cnblogs.com/Gile/p/4461892.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!