C
cui1688
Unregistered / Unconfirmed
GUEST, unregistred user!
day1="#"&trim(Request.Form("month1"))&"-"&trim(Request.Form("day1"))&"-"&trim(Request.Form("year1"))&"#"day2="#"&trim(Request.Form("month2"))&"-"&trim(Request.Form("day2"))&"-"&trim(Request.Form("year2"))&"#"rs.open "select * from orders where (datediff('day',fhsj,"&day2&")>=0) and (datediff('day',"&day1&",fhsj)>=0) and (bookid="&rs("bookid")&")",conn,1,1这句是access数据库下的asp语句 正确的 怎么样把它改成sql server2000数据库用的asp语句呢?