Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Exp Imp Overwirte posiible or not?

RE: Exp Imp Overwirte posiible or not?

From: <azhar_at_mathtech-pk.com>
Date: Wed, 28 Mar 2001 04:53:33 -0800
Message-ID: <F001.002D9F3A.20010328045538@fatcity.com>

Hi ,
destroy=y option doesn't meet the requirement . I checked the oracle docs and didn't find any option to overwrite data.I think i have to truncate data and then insert into appropriate tables as william pointed out. Thnaks to every one who responded.
Azhar Siddiq,

                                                                                       
                                    
                    Scott.Shafer_at_dcpds.cp                                              
                                    
                    ms.osd.mil                   To:     Multiple recipients of list 
ORACLE-L <ORACLE-L_at_fatcity.com>       
                    Sent by:                     cc:                                   
                                    
                    root_at_fatcity.com             Subject:     RE: Exp Imp Overwirte 
posiible or not?                       
                                                                                       
                                    
                                                                                       
                                    
                    03/28/2001 12:52 AM                                                
                                    
                    Please respond to                                                  
                                    
                    ORACLE-L                                                           
                                    
                                                                                       
                                    
                                                                                       
                                    




Thanks for the correction. I'm away from the doc CD at the moment as we are
moving offices...

Scott Shafer
San Antonio, TX
210-581-6217

> -----Original Message-----
> From: William Beilstein [SMTP:BeilstWH_at_obg.com]
> Sent: Tuesday, March 27, 2001 1:19 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Exp Imp Overwirte posiible or not?
>
> The DESTROY option on an import indicates whether the CREATE TABLESPACE
> commands only found in a full export should be executed. Setting
DESTROY=Y
> destroys the data files of the database being imported into. This is only
> used when you want to rebuild an entire database, not to overwrite data
in
> tables. If you really need the empty all the tables in a schema, disable
> the constraints on the tables, truncate them, and reenable the
> constraints. This will only work if the schema is self contained, and
it's
> tables are not used as a foreign key for a table in a different schema.
> >>> Scott.Shafer_at_dcpds.cpms.osd.mil 03/27/01 01:50PM >>>
> IIRC, there is a flag for import "destroy=y" to do what you want. This
is
> very dangerous and you should research all the implications before trying
> it. If you don't have the docs, try http://technet.oracle.com and read
up
> on the import options.
>
> Scott Shafer
> San Antonio, TX
> 210-581-6217
>
> > -----Original Message-----
> > From: azhar_at_mathtech-pk.com [SMTP:azhar_at_mathtech-pk.com]
> > Sent: Tuesday, March 27, 2001 1:46 AM
> > To: Multiple recipients of list ORACLE-L
> > Subject: Exp Imp Overwirte posiible or not?
> >
> > Hi All,
> > I want to import data from a user dump file but when i import data, i
> > want
> > to overwrite the existing data . Normally imp utility append data to
> > existing rows. Requirement of application is such that we need to
> > overwrite existing data without dropping objects and its dependent
> > objects. Is it possible with exp , imp utilities or i have to delete
> data
> > first and then import using imp utility.
> > Is there any other possibility...
> > Environment Oracle8i, Windows NT4
> > TIA
> >
> > Azhar Siddiq
> >
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: Scott.Shafer_at_dcpds.cpms.osd.mil
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: William Beilstein
> INET: BeilstWH_at_obg.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: Scott.Shafer_at_dcpds.cpms.osd.mil

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: azhar_at_mathtech-pk.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Mar 28 2001 - 06:53:33 CST

Original text of this message

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