I think this is the best way to get the month name when you have the month number
(我认为这是得到月份名称时,你有个数字的最佳方式)
Select DateName( month , DateAdd( month , @MonthNumber , 0 ) - 1 )
Or
(要么)
Select DateName( month , DateAdd( month , @MonthNumber , -1 ) )
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…