来自编号的MySQL MONTHNAME() [英] MySQL MONTHNAME() from numbers

查看:45
本文介绍了来自编号的MySQL MONTHNAME()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

反正从月份的数字(1-12)中获得MONTHNAME()吗?例如,如果我有6,7,8,MySQL中是否有任何本机方式可以将其转换为June,July,August?

Is there anyway to get the MONTHNAME() from just the number of the month (1-12)? For example if I have 6,7,8 is there any native way in MySQL to transform those into June,July,August?

推荐答案

您可以使用警告:如果在很多行上完成,这可能会很慢.

Warning: This could be slow if done over a lot of rows.

这篇关于来自编号的MySQL MONTHNAME()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆