Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: read BLOB / insert into table in plsql ?

Re: read BLOB / insert into table in plsql ?

From: Jan Korecki <Jan.Korecki_at_korecki.com>
Date: Wed, 14 Jul 2004 16:35:04 +0200
Message-ID: <40F54498.4070400@korecki.com>


Prem Khanna J wrote:

>
>hi all,
>oracle 9.2.04:
>
>SQL > DESC MYTAB1
>----------
>MYCOL1 BLOB
>....
>
>there will be either CSV files/plain text files stored
>in MYCOL1.i need to read this file and straight away
>insert each row in that file as a record in another
>table URTAB1.i need to do this in pl-sql.
>
>will DBMS_LOB help in this case ? any hint/sample
>code plz ?? nothing strikes my head !!
>
>Thanks and Regards,
>Prem.
>
>

insert into URTAB1(the_blob ) select MYCOL1 from MYTAB1 where ....

Regards,
Janne!



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Jul 14 2004 - 09:33:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US