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: Problem with LONG column

RE: Problem with LONG column

From: <Jared.Still_at_radisys.com>
Date: Wed, 05 Feb 2003 12:34:31 -0800
Message-ID: <F001.00544E13.20030205123431@fatcity.com>


Dennis,

PL/SQL cannot directly deal with longs > 32k.

There *is* a way to do with global temporary tables and the to_lob() function, but it won't be nearly as fast as just using 'copy'.

Jared

DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM> Sent by: root_at_fatcity.com
 02/05/2003 06:52 AM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        RE: Problem with LONG column


Babu - There are two ways I can think of to do this.

  1. Write a small PL/SQL procedure.
  2. Use the SQL*Plus COPY command. You will probably use the method that is more familiar to you. Have you used either PL/SQL or SQL*Plus COPY before?

Dennis Williams
DBA, 40%OCP
Lifetouch, Inc.
dwilliams_at_lifetouch.com

-----Original Message-----
Sent: Wednesday, February 05, 2003 4:24 AM To: Multiple recipients of list ORACLE-L

Hi everyone  

One of my development team is working on ORACLE 8 on NT (Because of client requirement they are working on that version). One Table was created with wrong column name. Now they wanted me to correct the column name. But real problem is one column of that table is LONG data type. So I was unable to use
Insert into ... Select .... statement. Any suggestions in this regard highly appreciated.  

thanks
Banarasi Babu T
OCP, DBA        
--

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

Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.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 Wed Feb 05 2003 - 14:34:31 CST

Original text of this message

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