沈阳中兴男装品牌:请高手帮忙看看!

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/28 07:18:56
temp=request.form("content")
temp1=session("id")
temp2=date()
sql="update guestbook set content='"&temp&"',"&"time='"&temp2&"' where id ='"&temp1&"'"
说Microsoft JET Database Engine 错误 '80040e14'
UPDATE 语句的语法错误。
请问是怎么回事

sql="update guestbook set content='"&temp&"',"&"time=#"&temp2&"#" where id ='"&temp1&"'"
时间要加#