两小时内sql

select  convert(datetime,convert(char(20),dateadd(hour,-2,getdate())))

原文地址:https://www.cnblogs.com/ziye/p/7194486.html