How to get month name from month number in sql
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manoj BhoirRank #599 · 4K reputationPosted Jul 10, 2015, 1:34 AM EDT
Rajeev PunhaniRank #551 · 4.4K reputationPosted Jul 10, 2015, 12:56 AM EDT
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 10, 2015, 1:06 AM EDT
select datename(month, 'pass your date here') as MonthName
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Jul 10, 2015, 1:21 AM EDT
Hello Rohan Gupta,
select datename(month, '2015-07-13') as MonthName
select datename(month, '2015-08-13') as MonthName
Rohan GuptaRank #2,588 · 539 reputationPosted Jul 10, 2015, 2:16 AM EDT
Manoj BhoirRank #599 · 4K reputationPosted Jul 10, 2015, 2:18 AM EDT