Using SQL Server 2008, I have a query that is used to create a view and I\'m trying to display a month\'s name instead of an integer.
SQL Server 2008
DECLARE @iMonth INT=12 SELECT CHOOSE(@iMonth,'JANUARY','FEBRUARY','MARCH','APRIL','MAY','JUNE','JULY','AUGUST','SEPTEMBER','OCTOBER','NOVEMBER','DECEMBER')