类型: 字符 字符 数字 字符 时间 数字 字符 字符
sql= "insert into users (UserName,PassWord,Login_State "&_
",Last_Address,Last_Timer,Manage_status,Register_Name,user_status) "&_
" values ( '11 ', '11 ',11, '11 ', ' "&now& " ',11, '11 ', '11 ') "
response.write 输出为:
insert into users (UserName,PassWord,Login_State,Last_Address,Last_Timer,Manage_status,Register_Name,user_status) values ( '11 ', '11 ',11, '11 ', '2007-5-28 11:35:49 ',11, '11 ', '11 ')
页面提示:
Microsoft JET Database Engine '80040e14 '
INSERT INTO 语句的语法错误。
\*****\*****.asp, line 35
我是菜鸟,各位大侠帮帮忙吧!
------解决方案--------------------
给表名,字段名加[],如:
insert into [users] ([UserName],[PassWord]...