当前位置: 代码迷 >> ASP >> ASP程序有关问题请问
  详细解决方案

ASP程序有关问题请问

热度:27   发布时间:2013-04-02 12:35:26.0
ASP程序问题请教
本帖最后由 cqaspx 于 2013-03-28 02:12:11 编辑
程序由ACCESS转SQL数据库呢

原来在AC下
if request("shijian")="today" then
rs.open "select * from baoxiu where weixiu =1 and time >=  #" & date() &" 0:00:00# and time <= #" & date() &" 23:59:59#",conn,1,1
else
这个可正常统计当日文章,现在不行了,麻烦帮忙看看.谢谢

------解决方案--------------------
rs.open "select * from baoxiu where weixiu =1 and time >=  '" & date() &" 0:00:00' and time <= '" & date() &" 23:59:59'"
  相关解决方案