mysql数据库批量多条件替换语句

update A.表1 set p=concat('CD',substring(p,2,length(p)))where substring(p,1,1)='X'
mysql数据库批量多条件替换语句
update A.表1 set p=concat('CD',substring(p,2,length(p)))
where substring(p,1,1)='X'2009-09-04
mengvlog 阅读 203 次 更新于 2025-10-31 06:30:17 我来答关注问题0
檬味博客在线解答立即免费咨询

mySQL相关话题

Copyright © 2023 WWW.MENGVLOG.COM - 檬味博客
返回顶部