I am looking for smart idea to update just a part of string in column. There is lot of similar question but I haven't found way for me.
For example I have column varchar(10)
1234|5|6789X
____________
2134|1|71891
How I can easy update 5th element of my string without touching rest of string, there is no pattern.
I was trying use patindex & substring
How I can easy update 5th element of my stringwhat is the 5th element? Can you show what you have tried and what is the expected output?