CREATE TABLE `test` ( `col1` VARCHAR( 10 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `col2` VARCHAR( 10 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL) ENGINE = MYISAM ;错误(不可以插入null值):INSERT INTO `test` VALUES (null,1);正确(插入''没问题):INSERT INTO `test` VALUES ('',1);INSER Read More
posted @ 2013-09-19 02:39
findumars
Views(2097)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号