access和MSSQL时间天数查找SQL语句写法.这是我自己在写程序中总结出来的. access的查询语句写法: and pdate between #" & now()-posttime & "# and #"& now()&"# " SQL查询语句写法: where DATEDIFF(d, Up_Time, GETDATE()) <= 你的时间天数