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: urgent help about export and import

Re: urgent help about export and import

From: James Lorenzen <lorenzen_at_tiny.net>
Date: 1998/02/17
Message-ID: <lorenzen-ya02408000R1602981924490001@news.visi.com>#1/1

In article <6ca3ao$e_at_news.microsoft.com>, "Benson Zhang" <v-acbz_at_microsoft.com> wrote:

>All new rows get into the target db, BUT all update values in existing rows
>are not updated in the target database. If I truncate target tables and do
>import, everything is fine. I am wondering that exported dump file has all
>insert statements no update statements. So the target tables' index
>rejected rows violated unique constraints and rows' values are not got
>updated.
>
>
>Benson Zhang
>angelayz_at_yahoo.com

The import function will only insert rows, there is no update option. You can write a PL*SQL routine to perform the updates. It is fairly simple with a cursor and an update loop.

HTH
   James

-- 
lorenzen_at_visi.com             | Life is complex; it has
                              |   real and imaginary parts
Received on Tue Feb 17 1998 - 00:00:00 CST

Original text of this message

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