Think before you speak, read before you think.
—
by
将某字符串中的xz替换为yz
select replace('xxxxxzccss','xz','yz');
把Object表,字段asset_no中的XZZC替换为GDZC
update `Object` set `asset_no`=REPLACE(`asset_no`,'XZZC','GDZC');
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Δ
Leave a Reply