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
Change:
CONVERT(varchar(3), DATEPART(MONTH, S0.OrderDateTime) AS OrderMonth
To:
CONVERT(varchar(3), DATENAME(MONTH, S0.OrderDateTime)) AS OrderMonth