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: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Thu, 06 Feb 2003 07:04:08 -0800
Message-ID: <F001.00545BBD.20030206070408@fatcity.com>


Babu - I don't know how large your tables are, but you should consider committing during the copy. This is a parameter available to COPY.

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

-----Original Message-----
Sent: Thursday, February 06, 2003 8:34 AM To: Multiple recipients of list ORACLE-L

Hi all

Thank you very much for all your suggestions. I already experimented with copy command. But I failed Following is the output..

SQL> copy from qest/qest_at_ndlp to scott/tiger_at_test1 -
> append contacts_new using select * from contacts;

Array fetch/bind size is 15. (arraysize is 15) Will commit when done. (copycommit is 0) Maximum long size is 80. (long is 80)

 select * from contacts
*
Error in SELECT statement: ORA-01002: fetch out of sequence

SQL> Can anyone provide me sample PL/SQL script.

thanks

Banarasi Babu

-----Original Message-----
<mailto:DWILLIAMS_at_LIFETOUCH.COM> ]
Sent: Wednesday, February 05, 2003 8:23 PM To: Multiple recipients of list ORACLE-L

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
<http://www.orafaq.net> 
--
Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.COM

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
<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: 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).
Received on Thu Feb 06 2003 - 09:04:08 CST

Original text of this message

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