Garayed.com  

Go Back   Garayed.com > Oracle
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-2005, 11:41 PM
Malcolm Dew-Jones
 
Posts: n/a
Default Q: imp question

I have exp'd several tables using the exp defaults, which appears to
include GRANTS INDEXES ROWS CONSTRAINTS TRIGGERS.

Now I am about to imp those table just to check I can do that before doing
other things.

I understand perfectly well that imp fails if the data still exists in the
table (primary key constraint). To reload the data I must "empty" or
"replace" the table being reloaded, and imp appears to provide the DESTROY
option to do that.

My question(s) is this. If I use "imp DESTROY=Y ..." then can the import
have side effects involving other tables due to relations between other
tables and the ones I am restoring?

In the first test I am restoring the original data and nothing has been
altered in the database.

Later, lets assume that some other table had been altered without my
knowledge, and that table had a relation with one I am restoring. What
would happen when I try to import the original data? Would the entire imp
fail, or just certain rows fail, or what?

thanks for any feedback.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:59 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.