当前位置:网站首页>sql 大小写转换,去掉前后空格
sql 大小写转换,去掉前后空格
2020-11-09 22:26:00 【龘游戏人生龘】
-- 大小写转换 转为小写
UPDATE file_selection SET mash=LOWER(mash) WHERE xxxxx = '0';
-- 大小写转换 转为大写
UPDATE file_selection SET mash=UPPER(mash) WHERE xxxxx = '0';
-- 去掉字段中的空格 字符前的空格
UPDATE file_selection SET mash=ltrim(mash)
-- 去掉字段中的空格 字符后的空格
UPDATE file_selection SET mash=rtrim(mash)
-- 去掉字段中的空格 字符中的空格
UPDATE file_selection SET mash=replace(mash, ' ', '') WHERE xxxxx = '0';
版权声明
本文为[龘游戏人生龘]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/3628379/blog/4710147
边栏推荐
猜你喜欢
随机推荐
Analysis steps of commodity background management
How can financial management system help enterprises realize financial automation management?
Unemployment after graduation? How do college students allocate their study time and have a complete computer knowledge system?
财务管理系统如何帮助企业实现财务自动化管理?
R8 compiler: tailoring kotlin libraries and Applications
获取List集合对象中某一列属性值
PLSQL Developer常用设置
2018中国云厂商TOP5:阿里云、腾讯云、AWS、电信、联通 ...
Hand in hand to teach you to use container service tke cluster audit troubleshooting
Configure the NZ date picker time selection component of ng zerro
JS深拷贝
SQL Server附加数据库拒绝访问解决方法汇总
Markdown plug-in of vscode
C/C++编程日记:逻辑井字棋(圈叉)游戏开发
The solution of type interface * * is not known to the mapperregistry
剑指offer之打印超过数组一半的数字
Chrome扩展程序热更新方案:2.基于双缓存更新功能模块
lvgl 库 V7版本相关应用
Apache Hadoop的重要组成
LeetCode 49 字母异位词分组








