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

Home -> Community -> Usenet -> c.d.o.server -> Copy with PK problem in oracle 9i

Copy with PK problem in oracle 9i

From: David Nguyen <nguyend4_at_hotmail.com>
Date: 27 Feb 2003 12:20:37 -0800
Message-ID: <9a0092d.0302271220.10fd700@posting.google.com>


Hi all,

  I try to copy 5 records from table target to table source with the same structure by using insert. However, from table source there's 1 PK is the same with table target so it return with error and do nothing. If I eliminate that duplicate PK it copy sucessfully.

  Is there anyway that I can copy to another table when it see the duplicate PK it just skip that PK and move to the next one? (I disable the trigger because I want to reserve the same PK number)

Thanks

David Received on Thu Feb 27 2003 - 14:20:37 CST

Original text of this message

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