Mysql 部分替換

update  表名 set 字段名 = replace(字段名, '被替換內容', '替換內容') WHERE 條件;code update test_table set CONTENT = replace(CONTENT , 'aaa', '○○○') WHERE CLIENT_ID = 6; //將CONTENT_TEXT字段中的'aaa'替換成'○○○'
相關文章
相關標籤/搜索