SQL 语句中replace替换函数的使用

把字段 title 中 A 替换成 B

update post set title = replace(title,'A','B') where title like '%AB%'; 

 

 

posted @ 2020-06-23 11:14  Aqufish  阅读(419)  评论(0)    收藏  举报