日期:2014-05-18 浏览次数:20510 次
select stuff('xxxxxxxxd1006',11,2,'0') as new /* new xxxxxxxxd106 */
------解决方案--------------------
update tb set col = reverse('d106'+right(reverse(col),len(col)-5)) where left(reverse(col),5) = 'd1006'
------解决方案--------------------
update tb set col =stuff('xxxxxxxxd1006',11,2,'0') where col like '%d1006'
------解决方案--------------------