Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Using the copy command in PL/SQL

Re: Using the copy command in PL/SQL

From: Robert W. Swisshelm <swisshelm_at_lilly.com>
Date: 1996/12/17
Message-ID: <32B68A9C.149F@lilly.com>#1/1

As mentioned in another reply, you can't use COPY in DBMS_SQL because it is a SQL*Plus command, not a SQL command.

You could create a database link, define a cursor on the remote table, read through the cursor and insert into the local table, committing occassionally.

-- 
Bob Swisshelm
Eli Lilly and Company
swisshelm_at_lilly.com
Received on Tue Dec 17 1996 - 00:00:00 CST

Original text of this message

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