首页 > 数据库 >mysql: 看不见的空符号 char(9) char(10) char(13)

mysql: 看不见的空符号 char(9) char(10) char(13)

时间:2023-03-03 14:11:38浏览次数:45  
标签:10 13 name column replace char

trim,消除前后的空格,没有效时果

update table_name
set column_name = replace(replace(replace(column_name,char(9),''),char(10),''),char(13),'');

说明:
table_name:表名
column_name:列名,字段名,变量名(都是一个意思,多种叫法而已)

char(9), char(10), char(13)分别是:
char(9) 表示水平制表符 (tab键 \t)

char(10) 表示换行键 (\n)

char(13) 表示回车键 (\r)

标签:10,13,name,column,replace,char
From: https://www.cnblogs.com/fuqian/p/17175436.html

相关文章

  • $10 ^ 9 + 9$ 和 $10 ^ {18} + 9$ 是质数。
    ......
  • Microsoft Visual Studio 2010 Service Pack 1官方下载版(ISO)
    1.用迅雷下载很快,总大小1.48G,安装过程中所需的所有msi程序包都在文件内。2.安装过程中,如果提示“无法访问你试图使用的功能所在的网络位置”,所需的所有msi文件都在这个1......
  • hdu-1010
    简单深搜剪枝http://acm.hdu.edu.cn/showproblem.php?pid=1010#include<iostream>#include<algorithm>#include<set>#include<map>#include<string.h>#inc......
  • hdu-1301
    模板题#include<iostream>#defineINF999999usingnamespacestd;intmap[30][30],dis[30],v[30];intprim(intn){inti,j,k,min,sum=0;for(i=1;i<=n......
  • hdu-1016
    约瑟夫换问题http://acm.hdu.edu.cn/showproblem.php?pid=1016#include<stdio.h>#include<stdlib.h>#include<algorithm>#include<string.h>intn,cas=1,vi......
  • P1983 [NOIP2013 普及组] 车站分级
    P1983[NOIP2013普及组]车站分级https://www.luogu.com.cn/problem/P1983 思路https://www.cnblogs.com/tomori/p/14331510.html   Codehttps://www.luo......
  • Visual Studio2010保姆式安装教程(VS2010 旗舰版),以及如何运行第一个C语言程序,超详细
    安装前请关闭杀毒软件,系统防火墙,断开网络连接 通过百度网盘分享的文件:VS2010.zip链接:https://pan.baidu.com/s/1yQUUCxMJP7FMaistFX94SQ提取码:96ga复制这段内容......
  • 10 个值得掌握的 reduce 技巧
    10个值得掌握的reduce技巧DevPoint深耕WEB开发10+年,拥有一颗工匠的心​关注他 2人赞同了该文章​展开目录 作为一个......
  • PyCharm 中未解决的引用问题
    我有一个目录结构├──simulate.py├──src│  ├──networkAlgorithm.py│  ├──...我可以使用访问网络模块sys.path.insert()。importsy......
  • MyBatis_10(分页插件)
    主题:分页插件一、分页插件使用步骤:1-添加依赖<!--https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper--><dependency> <groupId>com.github......