Thursday, April 25, 2013

Get Current Month in SQL Server

Get Current Month in SQL Server



Using Month function  User can get current Year.

for ex:   Month(Getdate())

select Month(getdate()) "Current Month"

for ex: 4



Tags: Get Current Month  in SQL Server, Today's Month  in SQL Server, Current Month  in SQL Server, How to get current Month  in SQL Server .  Month  function in T-SQL,SQL SERVER 2012

No comments:

Post a Comment