Hi, I'd like to rename about 200 articlenumbers with an update instruction. All these articelnumbers have 18 digits and contain at digit 15+16 two capitals for example 140Vx281018000MI11. The capitals MI in these articlenumbers have to be replaced into WD. Does anyone have the right update instruction for me? Thanks in advance. SQL-erform
Answer by Squirrel 1 ·
update t
set articelnumbers = replace(articelnumbers , 'MI', 'WD')
from yourtable t
where articelnumbers like '%MI%'