I am trying to Insert/Update data into BLOB Column where there are few Non-Ascii Characters present. When I retrieve the column values, they are not fetched as same as when I inserted them.
// This is sample data or data snippet of very large data text where i see the difference after update.
Tried this updated Query:
UPDATE Blob_table SET FILE_BLOB = utl_raw.cast_to_raw('00001Ý#01¨ return') where eid = 1;
When i fetch the table:
SELECT FILE_BLOb FROM Blob_table WHERE eid = 1;
Above Query output: 00001�#01¨ return
Expected : 00001Ý#01¨ return
Actual : 00001�#01¨ return
Can anyone explain Why the data is retrieved wrongly and how to fix them?
Oracle Database Version :
"Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.5.0.0.0"
Character Set Details:
NLS_NCHAR_CHARACTERSET - AL16UTF16
NLS_CHARACTERSET - AL32UTF8
BLOB
rather thanCLOB
? Character set AL32UTF8 supports any character, so converting to BLOB seems to be pointless to me. – Wernfried Domscheit