Could some body help me to find the month name in MYSQL. I have read many post related to MONTHNAME()
method in SO, but not find my answer.
My code sample :-
select MONTHNAME(now())as MONTTH;
select MONTHNAME(str_to_date(6,'%m'))as MONTTH
Both are return BLOB
data. Why it return BLOB
. Thanks in advance.
SELECT MONTH(name) FROM tablename;
如果这就是您的意思,它将选择月份。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.