Please help, I have a column (range varchar(11)) with values like '422000', '357860'.
I need a query that can change the first character position (i.e 4 and 3) to 5.
so that it becomes '522000' and '557860', respectively.
I tried:
select replace (SUBSTRING(range,1,1), 1,5))
but this is not the correct query.
I would appreciate your contribution. Thanks
Use the STUFF function for this: