MySQL Error 1264: out of range value for column

后端 未结 5 2149
谎友^
谎友^ 2020-11-29 02:51

As I SET cust_fax in a table in MySQL like this:

cust_fax integer(10) NOT NULL,

and then I insert value like this:

<         


        
5条回答
  •  生来不讨喜
    2020-11-29 03:00

    Work with:

    ALTER TABLE `table` CHANGE `cust_fax` `cust_fax` VARCHAR(60) NULL DEFAULT NULL; 
    
    

提交回复
热议问题