What is the issue with 10 digit mobile no data in mysql?

前端 未结 3 856
半阙折子戏
半阙折子戏 2021-01-15 13:38

I made a table for storing contact record of user of my website. It also contains a 10 digit mobile no.

Table structure is like this:

CREATE TABLE co         


        
3条回答
  •  悲哀的现实
    2021-01-15 14:04

    It is because of the max size of type INT you need to use a different type to hold a number that large. Try using BIGINT.

提交回复
热议问题