Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Copy data from PROD to DEV

hm9mSep 7 2006 — edited Sep 8 2006
I have a requirement of pulling data from PROD to DEV db residing in diff boxes.
Issue:
=====
Table01@PROD
col1, [primary key]
col2 and [FK]
col3....colN

Table01@DEV
col1, [primary key]
col2 and [FK]
col3....colN

I am selecting records of table01@PROD in cursor and want to insert in Table01@DEV
Problem is with col2 that has referential integrity and value of col2 in PROD is different than that in DEV db. value of PK comes from NEXTVAL.

How to map col2 values in DEV db with that of PROD db?
TIA
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2006
Added on Sep 7 2006
9 comments
1,256 views