dim a '定义变量不赋值 直接输出是空值 sql="update [info] set wz='0' where id in (1,2,5)"conn.execute sql,aresponse.Write(a)if a>0 thenresponse.write "更新成功"elseresponse.write "更新失败"end if
a 是影响的条数