RE: datapump import schema and default values taken from a sequence
Date: Mon, 26 Jul 2021 23:26:45 -0400
Message-ID: <08f101d78297$3a4482c0$aecd8840$_at_rsiz.com>
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mladen Gogala
Sent: Monday, July 26, 2021 7:40 PM
To: oracle-l_at_freelists.org
Subject: Re: datapump import schema and default values taken from a sequence
Nope. If REMAP_SCHEMA doesn't work, that's it. You can, however, pre-create the with the proper definition and then use TABLE_EXISTS_ACTION=APPEND. That, however, could lead to another problem since the newly created sequence will start from the beginning, whatever START WITH option of the CREATE SEQUENCE command has specified, so the rows from the original table will very likely differ from the imported rows. Let me discover the hot water and tell you that you're in a pickle. Good luck.
On 7/26/21 6:03 AM, Thomas Kellerer (Redacted sender thomas.kellerer for
DMARC) wrote:
> So my question is:
>
> Is there any way to tell DataPump to replace the reference to "THOMAS"."MY_TABLE_ID_SEQ" with the target schema: "ARTHUR"."MY_TABLE_ID_SEQ"?
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Tue Jul 27 2021 - 05:26:45 CEST