I have months stored in SQL Server as 1,2,3,4,...12. I would like to display them as January,February etc. Is there a function in SQL Server like MonthName(1) = January? I a
Just subtract the current month from today's date, then add back your month number. Then use the datename function to give the full name all in 1 line.