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 -> Insert PK to another database

Insert PK to another database

From: David Nguyen <nguyend4_at_hotmail.com>
Date: 25 Feb 2003 19:17:49 -0800
Message-ID: <9a0092d.0302251917.d74ea07@posting.google.com>


Hi all,

  I have another challenge. I insert a certain rows from one database to another by using insert SQL

SQL>insert into target_table select * from source_table_at_link_name  where PK = '15';

1 rows inserted

 However, it insert into the target_table of my new database with new PK number and I have to go inside and manually edit the PK. Is there a way that I can keep the same PK number by using insert without going inside the table update manually?

Thanks

David Received on Tue Feb 25 2003 - 21:17:49 CST

Original text of this message

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