根据输入的日期得出,算出是本年第几周
select datepart(week,getdate())
SQL 获取本年第几周
原文:http://www.cnblogs.com/gates/p/3979806.html