[求助]查询两个日期间的记录,那两个日期都是要求用户输入
查询两个日期间的记录,那两个日期都是要求用户输入,格式如:2007-01-02,而不是检点的从某月到某月,我下面那样写可以不,如果不可以,教教我。WISH_FINISH_TIME=Trim(request.form("WISH_FINISH_TIME"))
WISH_FINISH_TIME_end=Trim(request.form("WISH_FINISH_TIME_end"))
WISH_FINISH_TIME=date()
WISH_FINISH_TIME_end=Date()
sql="select * from songzw.REQUIRE_BILL where timestr between "&DateStr1&" and "&DateStr2&""