RE: Saving a group of tables on a database refresh

  • From: DENNIS WILLIAMS <DWILLIAMS@xxxxxxxxxxxxx>
  • To: "'oracle-l@xxxxxxxxxxxxx'" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 17 Aug 2004 11:02:31 -0500

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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Kline.Michael
Sent: Tuesday, August 17, 2004 10:58 AM
To: oracle-l@xxxxxxxxxxxxx
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@xxxxxxxxxxxx> michael.kline@xxxxxxxxxxxx 
************************************************ 
The information transmitted is intended solely 
for the individual or entity to which it is  
addressed and may contain confidential and/or 
privileged material. Any review, retransmission, 
dissemination or other use of or taking action 
in reliance upon this information by persons or 
entities other than the intended recipient is 
prohibited. If you have received this email in 
error please contact the sender and delete the 
material from any computer. 
************************************************ 


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: