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

How to remove a static IP configuration for an absent network adapter or uninstall hidden network adapter