我在 ASP Classic 中使用 SQL 进行了查询,得到的语法如下所示:
mQry = "SELECT name FROM finals WHERE invoice_num = " &request.querystring("num") & " AND name LIKE '&" & request.querystring("nam") & "%'"
response.write("Operating Unit")
for each x in TestRally.fields
response.write(": ")
response.write(x.value) '-- got error in this area...
response.write("<br>")
next
response.write("<br>")
TestRally.MoveNext
基于上面提到的语法,什么是最好的补救办法..???
到目前为止我收到的错误消息是这样的:
Microsoft OLE DB Provider for Oracle 错误 '80040e07' ORA-01722: 无效号码