In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to restore the Oracle Delete table, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Oracle Delete recovery (ODU)
The data in the table is DELETE
(1) set the parameter unload_deleted to YES
(2) generate data dictionary: unload dict
(3) recovery table: unload table username.tablename
-Simulation erroneous deletion
Create table t0 as select * from dba_objects
Create table t0_bak as select * from t0
Select count (*) from t0;-86159
Delete t0 where object_id > 85000; commit
Select count (*) from t0;-84141
One: set the parameter unload_deleted to YES
Second: generate a data dictionary
Three: restore the table
Rename t0 to tt0
CREATE TABLE "CHEN". "T0"
(
"OWNER" VARCHAR2 (30)
"OBJECT_NAME" VARCHAR2
"SUBOBJECT_NAME" VARCHAR2 (30)
"OBJECT_ID" NUMBER
"DATA_OBJECT_ID" NUMBER
"OBJECT_TYPE" VARCHAR2 (19)
"CREATED" DATE
"LAST_DDL_TIME" DATE
"TIMESTAMP" VARCHAR2 (19)
"STATUS" VARCHAR2 (7)
"TEMPORARY" VARCHAR2 (1)
"GENERATED" VARCHAR2 (1)
"SECONDARY" VARCHAR2 (1)
"NAMESPACE" NUMBER
"EDITION_NAME" VARCHAR2 (30)
);
Four: load the data into the database through sqlldr
5: validate data
Select count (*) from t0;-86159
Select * from t0 where object_id > 85000
On how to restore the Oracle Delete table to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.