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

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -