Something like this?
update master
set number =
concat(substring(number,1,4),"2",substring(number,6))
where number like 'A0110%'
;
You can adjust the where clause accordingly (not sure whether you want all rows with 0 in the 5th position or just those rows starting with 'A011'). For example, if you want to change all rows with '0' in the 5th position to have '2' in the 5th position then use this:
update master
set number =
concat(substring(number,1,4),"2",substring(number,6))
where substring(number,5,1) = "0"
;
...or if you want to change all rows with '2' in the 5th position to have '0' in the 5th position then use this:
update master
set number =
concat(substring(number,1,4),"0",substring(number,6))
where substring(number,5,1) = "2"
;
A011017toA011217?A011or only for this one?