这个sql添加记录的句子哪里错了?
这是测试页面输出的部分
insert into [sale] (salename,classid,bigpic,smallpic,writer,number,publish,pubnum,printdate,wordcount,formerprice,nowprice,VIPor,VIPprice,teamor,teamprice,teacherprice,info,writerinfo,content,productcom,medium,musicnum,OOSor,istop,saler_id,adddate)values('asdadgdfg',2,'/uploadpic/200512129554244735.jpg','/uploadpic/s200512129554244735.jpg','sfgsdg','sfdgsdg','reyery',5,'sfhstyh',5476,555,533,1,'520|510|500|',1,480,450,'cgfjhkjhk','fghjgkuyu','vcbnghjy','shsdg','dfhgt','dghjhjy',0,1,1,'getdate')
Microsoft JET Database Engine 错误 '80040e14'
INSERT INTO 语句的语法错误。
/saler_index.asp,行 1316
原句是这样的:
sql="insert into [sale] (salename,classid,bigpic,smallpic,writer,number,publish,pubnum,printdate,wordcount,formerprice,nowprice,VIPor,VIPprice,teamor,teamprice,teacherprice,info,writerinfo,content,productcom,medium,musicnum,OOSor,istop,saler_id,adddate)values('"&salename&"',"&classid&",'"&bigpic&"','"&smallpic&"','"&writer&"','"&bnumber&"','"&publish&"',"&pubnum&",'"&printdate&"',"&wordcount&","&formerprice&","&nowprice&","&VIPor&",'"&VIPprice&"',"&teamor&","&teamprice&","&teacherprice&",'"&info&"','"&writerinfo&"','"&content&"','"&productcom&"','"&medium&"','"&musicnum&"',"&OOSor&","&istop1&","&request.Cookies("salebook")("userid")&",'"&now()&"')"
response.Write sql
conn.execute(sql)
不知道哪错了,请大家看看!