sql当前时间往后半年

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

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

posted @ 2019-02-18 15:43  世人皆萌  阅读(1491)  评论(0)    收藏  举报