求助sql语句

chaiuong chaiuong 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<%
set rs=server.createobject("adodb.recordset")
sql="select * from hys where hys='一会'"
rs.open sql,db,1,1
%>

<tr class="hy">
<td >一会</td>
<td width="30" align="right" class="pt9">
<%rs.open "select * from hys where startime='8'" ,conn,1,1%> (报错)

<% if not rs.eof then%>
<a href="yd.asp>预订</a>
<%else%>
<a href="yd1.asp>已订</a>
<%end if%>
</td>

</tr>

我要让开始时间startime=8,sql语句应该在哪加
...全文
评论 17
收藏 已收藏
分享
返回顶部
chaiuong
ASP 28,401 成员 356,940 内容