sql = Request("SQL") set rs = conn.Execute(sql)If Err.Number <> 0 Then Response.Write "SQL 查询错误"判断错误号,如果不等于0就出错