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

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

解决方法:

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

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

posted on 2015-04-28 01:11  neba  阅读(918)  评论(0编辑  收藏  举报