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 <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/05/2003 06:52 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> 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. [EMAIL PROTECTED] -----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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).