I have Database table and I am using SQL Server 2008.
The table contins some columns and in one column the variable type is “String.” The column looks like as follows:
ColumnA
12301 01
12342 02
12501 01
43201 02
56401 03
56766 01
53478 01
54601 04
There is a white space in between the first 5 digits and last two digits. I want to replace last two digits to 09 if last two digits in the string are 01.
1 Answer