How to get month name from date in SQL Server

 

There are two function available in MS-SQL Server.


1) DATENAME

              We can use DATENAME() function to get Month Name from Date in MS-SQL Server.

Syntax

               




                     

2)FORMAT

              We can use FORMAT() function to get Month Name from Date in MS-SQL Server.

Syntax














             

Popular posts from this blog

How to Reset Terminal license on Windows 2008, 2008 R2 and 2012

Display a fixed number of rows per page for an SSRS report