sql当前时间往后半年

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

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

猜你喜欢

转载自www.cnblogs.com/shuaimeng/p/10395983.html