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. 
[EMAIL PROTECTED] 

-----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@ndlp to scott/tiger@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:[EMAIL PROTECTED]> ]
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.
[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
<http://www.orafaq.net> 
--
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

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: [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: 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).

Reply via email to