1.直接转换
select REPLACE(列名,’@’,’’) from 表
2.函数转换
先查询字符的ascii码
select ascii('@')
得到结果
通过char转换成字符串
char(64) --返回@
然后去替换
select REPLACE(列名,char(64),'') from 表
常用字符串函数文档
https://blog.csdn.net/qq_39569480/article/details/119146401
1.直接转换
select REPLACE(列名,’@’,’’) from 表
2.函数转换
先查询字符的ascii码
select ascii('@')
得到结果
通过char转换成字符串
char(64) --返回@
然后去替换
select REPLACE(列名,char(64),'') from 表
常用字符串函数文档
https://blog.csdn.net/qq_39569480/article/details/119146401