Question Locked

MS SQL SERVER query to return month names for a year

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi ,
I want to load a combo box with the names of all months in a year. I want to do it using MS SQL Server query. I used
SELECT DATENAME(month, getdate() AS 'Month Name'
this only returns the current month's name. I want the names of all months in a year. pls help
thanks in advance

1 reply

This discussion is closed to new replies.