asp为什么查询的数据不全呢

来源:百度知道 编辑:UC知道 时间:2024/05/14 08:23:31
<!--#include file="../connect.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%
if session("user")="" or session("password")="" then
response.Write("<script>alert('您好!您还没有登陆');window.location.href('../info.asp')</script>")
response.end
end if
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<title>无标题 1</title>
<style type="text/css">
.style8 {
background-color: #D9F0FF;

你的sql语句可真庞大,我没这样用过。或者你的模糊查询没找到数据库里的信息

DISTINCT *
order by rq desc 有冲突吧?

朋友,你的是什么数据库,可以把百分号去掉试试吗?