首页 > 技术文章 > ERROR 1690 (22003): BIGINT UNSIGNED value is out of range in..的错误 [转]

Gile 2015-04-28 01:11 原文

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

解决方法:

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

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

推荐阅读