select * from IRS_RES_MH_BASE where (DATEPART(month,rpt_date)=4) and (DATEPART(year,rpt_date)=2011)
转载于:https://www.cnblogs.com/puzi0315/archive/2012/08/17/2644838.html
select * from IRS_RES_MH_BASE where (DATEPART(month,rpt_date)=4) and (DATEPART(year,rpt_date)=2011)
转载于:https://www.cnblogs.com/puzi0315/archive/2012/08/17/2644838.html