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: Copy

Re: Copy

From: Ramon E. Estevez <com.banilejas_at_codetel.net.do>
Date: Mon, 08 Jul 2002 07:18:20 -0800
Message-ID: <F001.004910D5.20020708071820@fatcity.com>


Rachel, Joe, Anjo and for all that reply,

The only way it worked for me was using a dblink.

As always tks for your comentaries !!!

Tks

Ramon

> copy has been around for a loooong time
> from the 8.1.7 docs
>
> COPY {FROM database | TO database | FROM database TO database}
> {APPEND|CREATE|INSERT|REPLACE} destination_table
> [(column, column, column, ...)] USING query
>
> and the example
>
> SQL> COPY FROM SCOTT/TIGER_at_HQ -
> > CREATE SALESMEN (EMPNO,SALESMAN) -
> > USING SELECT EMPNO, ENAME FROM EMP -
> > WHERE JOB='SALESMAN'
>
> if you are copying within the same database you can leave out the
> from/to clause. If you are logged onto one of the two databases, you
> can leave out the from or to clause
>
>
> --- Yechiel Adar <adar76_at_inter.net.il> wrote:
> > I checked the docs for 8.1.6 and 9.0.1.
> > I think that the copy command is new in 9i.
> > make sure that you are logged on to 9i sqlplus when you issue this
> > command.
> >
> > Yechiel Adar
> > Mehish
> > ----- Original Message -----
> > From: Ramon E. Estevez
> > To: Multiple recipients of list ORACLE-L
> > Sent: Friday, July 05, 2002 10:08 PM
> > Subject: Copy
> >
> >
> > Hi list,
> >
> > I am trying to copy one table from a DB 9.0.1 on Linux RH to a DB
> > 8.1.7 on NT using this statement
> >
> > COPY FROM RAMON_at_ORLNX TO RAMON_at_IBOR CREATE DATBAL_TMP USING SELECT
> > * FROM DATOS_BALANCES;
> >
> > ERROR at line 1:
> > ORA-00900: invalid SQL statement
> >
> > Do I need a DBLINK, if yes, is it obligatory ?
> >
> > TIA,
> >
> >
> > Ramon E. Estevez
> > com.banilejas_at_codetel.net.do
> > 809-565-3121
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Rachel Carmichael
> INET: wisernet100_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
-- 
Author: Ramon E. Estevez
  INET: com.banilejas_at_codetel.net.do

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Jul 08 2002 - 10:18:20 CDT

Original text of this message

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