Please visit DEMANDDRAFT.SHOP for quality of products...

Ad

Search This Blog

Tuesday, July 17, 2012

Day Function in SQL Server

DAY()

This is used to get the day from any date time object.

Example:
SELECT DAY(getdate()) AS 'DAY'
 
Output :
DAY
17

Back

No comments:

Post a Comment