ask a question
sql="select * from users where id='"&str_id&"' and pwd='"&str_pwd&"'"
请问这个语句错在哪啊!应该怎么写啊?
谢谢!
sql="select * from users where id='"&str_id&"' and pwd='"&str_pwd&"'"
请问这个语句错在哪啊!应该怎么写啊?
谢谢!
2006-08-23 09:23

2006-08-23 10:19
2006-08-23 10:26
两个都是文本型的,运行显示如下的错误:
FROM 子句语法错误。
/news/denlu.asp,行54
2006-08-23 10:37
2006-08-23 10:45
sql="select * from [users] where id="&str_id&" and pwd='"&str_pwd&"'"
users是T-SQL里的关键字吧?加[]号区分以下看看呢?
2006-08-23 10:49