How to get month name from number in mysql -


is there anyway month short name number of month in mysql ? example : if give 3, need mar.

try this:

select monthname(str_to_date(1, '%m'));//returns january 

also refer this


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -