首页上一页 1 下一页尾页 1 条记录 1/1页
PHP项目开发第八章博客tb_tpsc表设计问题
发表在PHP图书答疑
2011-06-04
是否精华
是
否
版块置顶:
是
否
错误
SQL 查询:
CREATE TABLE `db_blog`.`tb_tpsc` (
`file` MEDIUMBLOB BINARY NOT NULL COMMENT '二进制图片'
) ENGINE = InnoDB;
MySQL 返回:文档
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BINARY NOT NULL COMMENT '二进制图片') ENGINE = InnoDB' at line 1
如上,请问是什么原因?望尽快回复
SQL 查询:
CREATE TABLE `db_blog`.`tb_tpsc` (
`file` MEDIUMBLOB BINARY NOT NULL COMMENT '二进制图片'
) ENGINE = InnoDB;
MySQL 返回:文档
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BINARY NOT NULL COMMENT '二进制图片') ENGINE = InnoDB' at line 1
如上,请问是什么原因?望尽快回复