Home > database > Oracle data import changed the table structure and view, and then insert the table data, do the back
Oracle data import changed the table structure and view, and then insert the table data, do the back
Time:10-02
Oracle database in the normal use of libraries, insert the table data (the data is very important to delete), do the wrong operation, after changed the table structure and view storage, cause there is something wrong with the database, resulting in a specific don't know what to do the operation, after doing the backup, a backup is inserted into the existing data to do before, table structure and views are no problem, how to repair the database? And the need to ensure the integrity of the data, (I small white)
CodePudding user response:
Explain your best, what kind of backup,
If is rman, now do recovery test machine, and then through the dblink plug the data line,
If is exp or expdp, directly back to another schema (user), inserted again come,
CodePudding user response:
Yes, depends on the way you backup recovery way, If you are a single table backup: The create table newtable as select * from your table - now has a new backup data first watch Drop table purge your watch; The create table your table as select * from a backup before insert table;
If it is exp or expdp export backup: To backup the existing structure and content, you have appeared to be Drop table purge your watch; Imp...