unlock203.zip:请高手帮忙看看!

来源:百度文库 编辑:中科新闻网 时间:2024/05/05 12:58:31
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&"'"
时间要加#