Insert NULL value into INT column

前端 未结 6 1481
名媛妹妹
名媛妹妹 2020-12-30 20:05

How can I insert NULL value into INT column with MySQL? Is it possible?

6条回答
  •  星月不相逢
    2020-12-30 20:13

    Does the column allow null?

    Seems to work. Just tested with phpMyAdmin, the column is of type int that allows nulls:

    INSERT INTO `database`.`table` (`column`) VALUES (NULL);
    

提交回复
热议问题