日期:2014-05-16  浏览次数:20676 次

这条简单的sql有什么错误?内详。。
insert   into   html_data   (cat,content,posted,title,link,description,images1,images2,images3,pubdate)   values   ( '中文 ', '中文 ', 'now() ', '中文 ', ' ', '中文 ', ' ', ' ', ' ', '2007-02-05   16:46:19 ')

Error   Code   :   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   ' '2007-02-05   16: '   at   line   1
(0   ms   taken)

是个语法错误,奇怪了


------解决方案--------------------
字段类型?另外now()的时候不需要加 ' '