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: Populating VARCHAR2 with LONG data...

Re: Populating VARCHAR2 with LONG data...

From: <Jared.Still_at_radisys.com>
Date: Mon, 31 Mar 2003 10:19:22 -0800
Message-ID: <F001.005766D9.20030331101922@fatcity.com>


The COPY command does not fit the requirements that Harpal stipulated.

And yes, I didn't include that the maximum varchar2 size that can be used is 4k.

It would probably be better to make use of a CLOB.

Jared

Jose Luis Delgado <joseluis_delgado_at_yahoo.com> Sent by: root_at_fatcity.com
 03/31/2003 08:53 AM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        Re: Populating VARCHAR2 with LONG data...


Hi...
If you do not want to use pl-sql for populating your varchar2 field, then another choice is:

use the COPY command from sqlplus... for doing the pass of data.

you must have into account that varchar2 just can hold up to 4000 characters!

so, your long data column, should not have more than 4000 chars or you could use: set long 4000

HTH


Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jose Luis Delgado
  INET: joseluis_delgado_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Mar 31 2003 - 12:19:22 CST

Original text of this message

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