查询mysql中的特殊字符
select * from test where content like concat('%',char(8),'%');
替换数据库中的特殊字符
update test set content=REPLACE(content, CHAR(8), '') where content like '%%';
本文介绍了如何使用SQL查询语句查询MySQL数据库中包含特殊字符的数据,并通过UPDATE语句进行替换操作。
查询mysql中的特殊字符
select * from test where content like concat('%',char(8),'%');
替换数据库中的特殊字符
update test set content=REPLACE(content, CHAR(8), '') where content like '%%';
1219
1713

被折叠的 条评论
为什么被折叠?