标签: sql date
今天的例子@date = 2010-02-22 14:17:19.393 号码@weeks = 2 我正在寻找的方程是(@date - @weeks = 2010-02-08 14:17:19.393)
答案 0 :(得分:1)
select dateadd(week, @weeks*-1, @date)