摘要: mysql 当两个字段想减时,如果其中一个或两个字段的类型的unsigned无签名类型,如果想减的值小于0则会报错(BIGINT UNSIGNED value is out of range) 测试: select cast(1 as unsigned)-2 select 0-cast(1 as u 阅读全文
posted @ 2016-09-28 14:27 Tiac 阅读(16113) 评论(0) 推荐(0)