sql server时间函数使用

select * from 表 where datediff(hh,时间字段,getdate())=5
原文地址:https://www.cnblogs.com/chenli0513/p/1862129.html