-
收到一只叮咚
有点烦躁,但应该有效:SELECT DATENAME(month, DATEADD(month, @mydate-1, CAST('2008-01-01' AS datetime)))
-
慕田峪7331174
我认为这是获得月份名称当你有月份数Select DateName( month , DateAdd( month , @MonthNumber , 0 ) - 1 )或Select DateName( month , DateAdd( month , @MonthNumber , -1 ) )
-
翻翻过去那场雪
SUBSTRING('JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC ', (@intMonth * 4) - 3, 3)