boolean type is tinyint(1) in MySQL
There is boolean type in MySQL, this is a strange phenomenon.
But we could use "tinyint(1)" to substitute boolean type
For example,
CREATE TABLE survey (id INTEGER NOT NULL AUTO_INCREMENT,
原创
2012-09-10 13:47:58 ·
148 阅读 ·
0 评论