一个会员系统,有会员的到期时间,现在想显示出2008-02-01(date1)至2008-02-12(date2)之间到期的会员信息,可是老是会把还有365+天到期的会员也列出,求高手赐教
SELECT * FROM WEB_Month,WEB_Users where WEB_Month.DTV_Card_ID=WEB_Users.DTV_Card_ID and (WEB_Month.DTV_End_Date between '"&date1&"' and '"&date2&"')
...全文
1115打赏收藏
asp的sql 日期问题
一个会员系统,有会员的到期时间,现在想显示出2008-02-01(date1)至2008-02-12(date2)之间到期的会员信息,可是老是会把还有365+天到期的会员也列出,求高手赐教 SELECT * FROM WEB_Month,WEB_Users where WEB_Month.DTV_Card_ID=WEB_Users.DTV_Card_ID and (WEB_Month.DTV_End_Date between '"&date1&"' and '"&date2&"')