I need to update a preexisting BLOB value in the table using PL/SQL.
I'm dealing with poor table design, the column should be CLOB and that is not going to change.
The steps I want to perform:
- select the BLOB
- convert the BLOB to CLOB
- modify the CLOB
- convert the CLOB to BLOB
- update the BLOB column with the new value
The 4th step I don't know how to do. I was hoping the BLOB could be updated directly but the only examples I find are reading a file into a blob column or using another programming language.