update W01 set gb002=substring(gb001,charindex('乡',@s1)+1,len(gb001))update W01 set gb002=substring(gb001,charindex('镇',@s1)+1,len(gb001))