我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使用mysql在int长度大于11时插入错误的值

Continue from this question ,

I have a table called customer_report id[int(11)],customer_id[int(5)] in Mysql while insertng values into the table the customer_id entered wrongly as 2147483647.

My query as below :

insert into customer_report (id,customer_id) 
values('','99999999999')

Whats wrong with this ?

Anyone help please .

Thank in advance.

please change the customer_id structure to bigint or do int(11)

近期文章

  • welcome / cat / 0无法访问控制器welcome.php codeigniter中的方法cat()
  • 如何在两个模块帐户和联系人之间设置相关性
  • 更改语言更改Opencart的徽标
  • preg_match_all返回一个空数组
  • 在另一个函数中调用Class中的函数
  • 在php中获取HTML复选框的值
  • 与Jquery一起使用CodeIgniter登录表单
  • 如何将Syntastic应用于PHP5.4功能
  • 通过单击行的标题链接显示表的整行?
  • 数组中的PHP变量用单引号括起来
  • 你能通过PHP通过iCloud验证iOS UUID吗?
  • 如何在symfony2中存储/修改 - 用户详细信息
  • 我可以通过电子邮件中的链接以编程方式创建优惠券代码吗? [关闭]
  • 多个用户的维护模式功能 - php数组无法正常工作?
  • 如何解析json数组?
  • 将压缩文件夹内容提取到根目录中
  • php - 如何将全局值分配给静态类
  • 交易数据库中的多值属性
  • 用于连接Apple推送通知服务的代理
  • 从表单将字符串转换为整数

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华