- 论坛徽章:
- 0
|
我写了一个小程序,其中有一部分是要将数据插入数据库的
但是,有错误
LOG如下:
[2007-06-02 22:45:27] INSERT INTO push_msg.t_msg_personal (FMsgId, FVerifyCode, FVarContent, FType, FUser, FTitle, FURL, FContent, FQQNo, FState, FsubmitTime, FSendTime, FSendIntf, FComment) VALUES('5513', 'CEDD', 'wangasdas', '0x18', '10000', 'asdsadasdasd', 'www.tenpay.com', 'asdsadfa', '179491631
', 'Y', '2007-06-01 00:00:00', '2007-06-02 22:45:27', '0', 'abcd')
[2007-06-02 22:45:27] Insert to DB error : Fail To Execute SQL: 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 '' at line 1
但是将上述中的“INSERT 。。。。”SQL语句拷贝到MySQL的命令行执行,就可以通过
不知道是什么原因,请高人们指点小弟!!!
[ 本帖最后由 asdwang 于 2007-6-4 13:07 编辑 ] |
|