Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Saving a group of tables on a database refresh
Michael - Import tries to create each table. If the table already exists,
you get an error. IGNORE=Y just tells import to ignore this error.
If you try to import into a table that already has data, import will still try to insert data in that table. Most likely you'll receive a blizzard of ORA-0001 errors.
Get a list of all tables and then list all tables you want to import into in a TABLES statement in your import parameters file. You can generate a list of tables in SQL*Plus by
select table_name||',' from user_tables;
Dennis Williams
DBA
Lifetouch, Inc.
"We all want progress, but if you're on the wrong road, progress means
doing an about-turn and walking back to the right road; in that case,
the man who turns back soonest is the most progressive."
-- C.S. Lewis
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Kline.Michael
Sent: Tuesday, August 17, 2004 10:58 AM
To: oracle-l_at_freelists.org
Subject: Saving a group of tables on a database refresh
HP-UX, Oracle 8.1.7.
To refresh the test databases we drop all tables and then import.
We have a request to not blow off or change all tables that start with "OPB_". I can NOT purge them, but purge everything else. If I use the "ignore=n", will it then leave the OPB_ tables untouched?
I know what it's supposed to do, but has anyone done this in real life with success?
Thanks.
Michael Kline
Database Administration
SunTrust Technology Center
1030 Wilmer Avenue
Richmond, Virginia 23227
Outside 804.261.9446
STNet 643.9446
Cell 804.744.1545
<mailto:michael.kline_at_suntrust.com> michael.kline_at_suntrust.com
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |