mysql查问替代语句

mysql查问替代语句

UPDATE `table_name` SET `field_name` = replace (`field_name`,’from_str’,’to_str’) WHERE `field_name` LIKE ‘%from_str%’证明:table_name —— 表的名字field_name —— 字段名from_str —— 须要替代的字符串to_str —— 替代成的字符串

分享到 :
python背单词小步调
2021-03-30 下一篇
相关推荐

Leave a Reply

Your email address will not be published. Required fields are marked *