I want to replace all the occurrences of 4 with the number 2 in a string column of a table. This is a hardcoded value of 2 which replaces all occurrences of the number 4 in a Oracle table. The LOBS column is a VARCHAR column
| ID | LOBS |
|---|---|
| 1 | 1,4,6,7,8 |
| 2 | 1,5,6,7,9,4 |
| 3 | 3,5,7,8,11,4 |
New Table
| ID | LOBS |
|---|---|
| 1 | 1,2,6,7,8 |
| 2 | 1,5,6,7,9,2 |
| 3 | 3,5,7,8,11,2 |