Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I would like to sort month as

January
February
March
.
.
.
.
.

Like this can anyone help
Posted
Comments
Prasad_Kulkarni 1-Jun-12 3:17am    
This is RE-POST, you have already asked this question how to sort month by calander wise[^]
If your problem is not solved or you this CP experts din't got what you exactly require.. Use 'Improve question' widget to modify your question. Don't re-post.
RDBurmon 1-Jun-12 3:34am    
Explain in brief . Which table ? what data ?

1 solution

Hi Anand,

I got your point. I assume a table "Calender" with a single column "Month".

using this query will sort your problem out:

SQL
"Select Month from Calender Order By Field(Month,'January','February','March','April','May','June','July','August','September','October','November','December');"



Cheers !!

Happy Coding :)
Sunny_K
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900