登记日期是年月日的格式,有没有[登记日期]的month属性判断是1月还是其他月?
where datepart(year,字段) = 2016 and datepart(month,字段) = 1
可以查看我的博客