create table #t(col1 varchar(10),col2 varchar(10)) go insert into #t select 'abc','ab' select col3=replace(col1,col2,'') from #t drop table #t ---- col3 c
update table set b = replace(a,c,'');
17,377
社区成员
95,128
社区内容
加载中
试试用AI创作助手写篇文章吧