Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Read BLOB and insert data into table

user11340233Jan 20 2016 — edited Jan 21 2016

Hi All ,

Let us considering the below on Oracle DB 12c:

create table xx_test3 (c blob);

insert into xx_test3 (c) values (utl_raw.cast_to_raw(

'azertyuiop,qsdfghjklm,wxcvbn'));

create table xx_target (col1 varchar2(50));

Can somebody guides me how to read the data and insert it in xx_target table ?

Result needed is :

select * from xx_target;

COL1                                             

--------------------------------------------------

azertyuiop                                       

qsdfghjklm                                       

wxcvbn                                           

3 rows selected.

Thanks in advance,

Stoyanov.

This post has been answered by Paulzip on Jan 20 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2016
Added on Jan 20 2016
12 comments
1,255 views