Technical Archive
A technical library where you can find a fix for your bug...!!
Friday, May 28, 2010
Get Montha Name from a Number in SQL
DECLARE @monthInt int
SET @monthInt = 5
select datename(month,dateadd(month, @monthInt - 1, 0)) as MonthName
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment