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&"'"
请问这个语句错在哪啊!应该怎么写啊?
谢谢!
两个都是文本型的,运行显示如下的错误:
FROM 子句语法错误。
/news/denlu.asp,行54
sql="select * from [users] where id="&str_id&" and pwd='"&str_pwd&"'"
users是T-SQL里的关键字吧?加[]号区分以下看看呢?