update t set msg=replace(msg,'%','')
update t set msg=replace(msg,'\%','')都不起作用
Rows matched: 1 Changed: 0 Warnings: 0很奇怪,能找到匹配行,但是无法替换!!!!!!!!!!!!!!!!!!!!!!!
update t set msg=replace(msg,'\%','')都不起作用
Rows matched: 1 Changed: 0 Warnings: 0很奇怪,能找到匹配行,但是无法替换!!!!!!!!!!!!!!!!!!!!!!!
解决方案 »
- 高手给看看这是什么原因啊
- 语句问题
- Tomcat连接MySQL出现Query execution was interrupted错误在线等
- MySQL query browser如何向表插入数据啊?
- 如何用phpMyAdmin连接mysql4.1和MYSQL5.0
- 一个select语句,请教各位!
- 用jdbc驱动程序连接mysql数据库!来看看
- 请教!!!关于mysql自动增长错乱的问题
- Foreign key constraint is incorrectly formed
- MySQL报错
- lost connection to mysql server during query & mysql server has gone away
- 如何用sql在一个表内完成按字段值重复记录拆分成多个表
参考一下这个贴子的提问方式http://topic.csdn.net/u/20091130/20/8343ee6a-417c-4c2d-9415-fa46604a00cf.html
1. 你的 create table xxx .. 语句
2. 你的 insert into xxx ... 语句
3. 结果是什么样,(并给以简单的算法描述)
4. 你用的数据库名称和版本(经常有人在MS SQL server版问 MySQL)
这样想帮你的人可以直接搭建和你相同的环境,并在给出方案前进行测试,避免文字描述理解上的误差。