[求助]各位高人帮忙看看这段带两个变量的查询语句
小弟初学,请指教改正!
<%
yue=month(date)
ri=day(date)
sql = "select * from shengri where yue ='"&yue&"' and ri='"&ri&"'"
Set rs = Conn.Execute(sql)
if not rs.eof then
%>
小弟初学,请指教改正!
<%
yue=month(date)
ri=day(date)
sql = "select * from shengri where yue ='"&yue&"' and ri='"&ri&"'"
Set rs = Conn.Execute(sql)
if not rs.eof then
%>