艾琳·理查兹好漂亮:ODBC 驱动程序不支持所需的属性。在线等。

来源:百度文库 编辑:高校问答 时间:2024/05/06 00:34:15
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'
ODBC 驱动程序不支持所需的属性。

这行是这样的
rs.open "select sum(paid) as paid from orders where username='"&session("username")&"' and state<6 and state>3",conn,1,1

response.write后是

select sum(paid) as paid from orders where username='abc' and state<6 and state>3

但下面那段代码却不会出错
rs.open "select sum(paid) as paid from orders where username='"&request.cookies("shop")("username")&"' and state<6 and state>3",conn,1,1

怎么回事?

QQ375035883