传入参数为月份,所有月份从一号算起,统计该月份的天数

day(cast(dateadd(month, 1, '2016-02-01') as datetime) - 1)

posted @ 2016-03-01 15:42  Danny_Chow_Java  阅读(287)  评论(0)    收藏  举报