时间:2021-07-01 10:21:17 帮助过:63人阅读
sql 判断字段日期和特定日期的大小
‘查找用户
dim fenPeople,fenMoney
set rs=Server.CreateObject("ADODB.recordset")
‘列出和自己同期的所有玩家
sql="select
* from user_info where user_level>0 and datediff(‘s‘,gameOverDate,‘"
& fenLast & "‘)<=0 and datediff(‘s‘,gameOverDate,‘" &
fenThis & "‘)>=0 and datediff(‘s‘,ipDate,‘" & date()&"
23:59:59" & "‘)>=0 and datediff(‘s‘,ipDate,‘" & date()&"
00:00:01" & "‘)<=0 order by ipNumToday desc"
rs.open sql,conn,1,1
sql 判断字段日期和特定日期的大小
标签:select where 查找 amp date() game nbsp 大小 日期