摘要: update words set `indexkey` = UPPER(left(word,1)) mysql 取字段内容的第一个字符并大写 用到两个mysql函数: 转换为大写:upper( ) 截取函数:left( str,length ) 文章来源:刘俊涛的博客 地址:http://www.cnblogs.com/lovebing 欢迎关注,有问题一起学习欢迎留言、评论。 阅读全文
posted @ 2018-06-22 15:07 刘俊涛的博客 阅读(4448) 评论(0) 推荐(0)