From Developer To Developer
This blog is a way for me to give back to developers.
Monday, July 23, 2012
Playing With Dates in Sql Server
1. Convert a number into Month Name:
Declare @monthInt int
set @monthInt =1
datename(month,dateadd(month, @monthInt - 1, 0)) as MonthName
Happy Living.........
Happy Concepts..........
Happy Programming...........
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment