I want to get long raw data from a column that has a long raw data type in a clob variable.
If I write the insert statement directly, I cannot insert into a long raw column.
I need to use the utl_raw.cast_to_raw (..) function to insert text into a long raw column. Can someone explain this problem?
Let me explain the workflow for this.
The user enters formatted text in an advanced editor in Delphi and saves.
Data is stored in a long raw column.
The user presses a button in Delphi, and the data must be retrieved from a long raw column and displayed in an advanced editor.
So, all we need is SQL, which passes the identifier, and it should return data from a long raw.
This works, but the data is not readable, since we get binary garbage data.
The table structure for this table will be similar to creating table data (id integer, data long raw);
I am using oracle 9i as a database.
source share