当前位置:网站首页>SQL case conversion, remove the space before and after
SQL case conversion, remove the space before and after
2020-11-09 22:26:00 【Game life】
-- toggle case Change to lowercase
UPDATE file_selection SET mash=LOWER(mash) WHERE xxxxx = '0';
-- toggle case Capitalize
UPDATE file_selection SET mash=UPPER(mash) WHERE xxxxx = '0';
-- Remove the space in the field The space before the character
UPDATE file_selection SET mash=ltrim(mash)
-- Remove the space in the field Space after character
UPDATE file_selection SET mash=rtrim(mash)
-- Remove the space in the field Spaces in characters
UPDATE file_selection SET mash=replace(mash, ' ', '') WHERE xxxxx = '0';
版权声明
本文为[Game life]所创,转载请带上原文链接,感谢
边栏推荐
- 团灭 LeetCode 打家劫舍 问题
- PL/SQL Developer临时用户和新手的功能指南
- AQS源码深入分析之条件队列
- Python提示AttributeError 或者DeprecationWarning: This module was deprecated解决方法
- 财务管理系统如何帮助企业实现财务自动化管理?
- 剑指offer之打印超过数组一半的数字
- SQL Server附加数据库拒绝访问解决方法汇总
- Low power Bluetooth single chip helps Internet of things
- AQS source code in-depth analysis of conditional queue
- IP address SSL certificate
猜你喜欢
毕业即失业?大学生如何分配学习时间比例,拥有完整计算机知识体系?
当我们开发一个接口时需要注意些什么
[best practice] learn how eolinker helps Telecommuting
Postman (1) -- function introduction
LeetCode-378. 有序矩阵中第K小的元素
Unemployment after graduation? How do college students allocate their study time and have a complete computer knowledge system?
On the practical application of C 9's new features
如何高效进行模幂运算
Important components of Apache Hadoop
价值超10亿美元的直播系统架构图是什么样子的?
随机推荐
低功耗蓝牙单芯片为物联网助力
Python调用飞书发送消息
PHP - curl copy paste access SMS verification code example
2018中国云厂商TOP5:阿里云、腾讯云、AWS、电信、联通 ...
LeetCode-378. 有序矩阵中第K小的元素
SQL Server附加数据库拒绝访问解决方法汇总
Just graduated will be confused, I after 7 years of summary, give programmers your 7 suggestions
JS深拷贝
LinkedList源码简析
白山云科技入选2020中国互联网企业百强
如何用代码上传头像,并添加自己的版权信息?
From master of Engineering Physics of Tsinghua University to open source entrepreneur of cloud computing
Interviewer: what are cache penetration, cache avalanche and cache breakdown?
More than 60 technical executives gathered in Songshan Lake, and the first phase of Huawei cloud core partner developer training camp was successfully concluded
SSL证书和公网IP地址如何影响SEO
技术点5:XML语言
2020-11-09:谈谈布隆过滤器和布谷鸟过滤器的相同点和不同点?
Realization of commodity backstage system
The basic principle of MRAM
[best practice] learn how eolinker helps Telecommuting