文件名称:sql日期查询
文件大小:119B
文件格式:TXT
更新时间:2016-05-14 09:41:10
sql
select * from table where Datediff(d,字段名,date)<7 where DateDiff (d,字段名,getdate())<=7 order by check_date asc
文件名称:sql日期查询
文件大小:119B
文件格式:TXT
更新时间:2016-05-14 09:41:10
sql
select * from table where Datediff(d,字段名,date)<7 where DateDiff (d,字段名,getdate())<=7 order by check_date asc