sql当前时间往后半年

select  DATEADD(MONTH, -6, GETDATE())

select  DATEADD(hh, -6, GETDATE())

原文地址:https://www.cnblogs.com/shuaimeng/p/10395983.html