Insert NULL value into INT column

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

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

6条回答
  •  猫巷女王i
    2020-12-30 20:30

    Just use the insert query and put the NULL keyword without quotes. That will work-

    INSERT INTO `myDatabase`.`myTable` (`myColumn`) VALUES (NULL);
    

提交回复
热议问题