mysql 5.5 BIGINT UNSIGNED value is out of range?mysql 5.6有这个问题吗?
伊谢尔伦
伊谢尔伦 2017-04-17 15:29:20
0
1
747

百度之后说:

mysql处理两个整数(INT)相减的时候,如果其中有一个是UNSIGNED INT类型的,那么结果就被当做是UNSIGNED的。

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
阿神

If the result of the subtraction is a negative number, it will be out of range because your type is an unqualified integer, such as greater than or equal to 0. All versions of this should be the same, it’s a matter of principle

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!