发布网友 发布时间:2024-09-15 08:13
共5个回答
热心网友 时间:2024-10-08 20:54
update jxc_bm_jbr set bm=right(bm,len(bm)-3) where left(bm,3)='000'
热心网友 时间:2024-10-08 20:58
Create table tb(bm varchar(6),mc varchar(6))
Insert into tb
select '000210','a' Union All
select '000211','b' Union All
select '000212','c' Union All
select '213','d'
Select * From tb
Update tb Set bm=stuff(bm,1,3,'') Where bm like '000%'
Select * From tb
热心网友 时间:2024-10-08 20:56
update jxc_bm_jbr set bm= right (bm,3)
热心网友 时间:2024-10-08 21:01
update jxc_bm_jbr set bm=replace(bm,'000','')
热心网友 时间:2024-10-08 20:58
update jxc_bm_jbr set bm=right(bm,3) where length(bm)=6 and bm like '000%'