当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Analysis steps of commodity background management
- 【科创人】Rancher江鹏:从清华工程物理学硕士到云计算开源创业者
- 如何实现LRU算法
- Markdown plug-in of vscode
- Prometheus安装配置
- 在PHP7下怎么大幅度提升Laravel框架性能?安装Stone!
- On the practical application of C 9's new features
- How to carry out modular power operation efficiently
- 表单验证,为避免全局污染,少定义全局变量写法
- Operation and design of rights management in ERP
猜你喜欢

PHP - curl copy paste access SMS verification code example

crm系统的成本一般是多少?

Can public IP address and SSL certificate improve SEO?

Unemployment after graduation? How do college students allocate their study time and have a complete computer knowledge system?

Kubernetes-18:Dashboard安装及使用

Important components of Apache Hadoop

迅为IMX6ULL开发板C程序调用shell

Modify the files in the jar package

Hand in hand to teach you to use container service tke cluster audit troubleshooting

Software engineering in code -- source code analysis of menu project
随机推荐
eleven point nine
团灭 LeetCode 打家劫舍 问题
[最佳实践]了解 Eolinker 如何助力远程办公
How to carry out modular power operation efficiently
公网IP地址和SSL证书可以提升SEO吗?
报错 Type interface *** is not known to the MapperRegistry. 的解决方案
It will be 2021. What is the modern C + + worth learning?
Technical point 5: XML language
How can financial management system help enterprises realize financial automation management?
AQS source code in-depth analysis of conditional queue
正式班D25
技术点5:XML语言
DB-Engines 11月数据库排名:PostgreSQL坐稳同期涨幅榜冠军宝座
[best practice] learn how eolinker helps Telecommuting
More than 60 technical executives gathered in Songshan Lake, and the first phase of Huawei cloud core partner developer training camp was successfully concluded
sql 截取数据中 ‘.’的前后数据
win7+vs2015+cuda10.2配置TensorRT7.0
Just graduated will be confused, I after 7 years of summary, give programmers your 7 suggestions
expect ':' at 0, actual = (JSON转化异常解决)
Open source project, private tool, rapid development