SQL SERVER Query to get week day name

In this article I am going to explain how to get week day name in Sql server query.

SQL SERVER Query to get week day name


Description:

Some time we need to get week day name from date.

Implementation:
We can get the week day name using Datename function of Sql server.
Example:

Select [Current date]=getdate(),[Current week day name]= datename(dw,getdate())





Post a Comment

0 Comments