在asp里的网页想给符合条件的记录记数应该怎么做?
来源:百度知道 编辑:UC知道 时间:2024/05/11 21:34:22
请举个列子.但要简要谢谢
sql="select count(*) from table where id >500"
set rs=conn.execute(sql)
选出ID大于500的数量
response.write(rs(0))
输出
给个筐别人输,把输入的串放到检索的SQL语句里作为条件
不解题义
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/05/11 21:34:22
sql="select count(*) from table where id >500"
set rs=conn.execute(sql)
选出ID大于500的数量
response.write(rs(0))
输出
给个筐别人输,把输入的串放到检索的SQL语句里作为条件
不解题义