Oralce 데이터 복구
1718 단어 데이터 뱅 크데이터 복구deleteOacle 데이터 복구
select * from table_name as of timestamp (systimestamp - interval '15' minute) where ......
여기 서 DAY, SECOND, MONTH 를 사용 하여 minute 을 교체 할 수 있 습 니 다. 예 를 들 어:
SELECT * FROM table_name AS OF TIMESTAMP(SYSTIMESTAMP - INTERVAL '2' DAY) where ......
--어느 시점 으로 되돌아가다
select * from table_name as of timestamp to_timestamp ('2013-01-05 16:18:57.845993', 'YYYY-MM-DD HH24:MI:SS.FF') where ......
--이틀 전 으로 되돌아오다
select * from table_name as of timestamp (sysdate - 2) where.........
실례:
insert into table_name
select * from table_name as of timestamp (systimestamp - interval '15' minute) where code = 'XXX'
minus
select * from table_name where code = 'XXX';
2. FLASHBack DROP 1. 원본 테이블 이 재 구축 되 지 않 으 면
flashback table orders to before drop;
2. 원본 표 가 재 건 된 경우 rename to 절 을 사용 할 수 있 습 니 다.
flashback table order to before drop rename to order_old_version;
3. FLASHBack TABLE 1. 우선 줄 이동 을 사용 합 니 다:
alter table order enable row movement;
2. 플래시 시계 가 15 분 전 까지:
flashback table order to timestamp systimestamp - interval '15' minute;
어느 시점 으로 되 돌아 가기:
FLASHBACK TABLE order TO TIMESTAMP TO_TIMESTAMP('2013-01-05 01:15:25','YYYY-MM-DD HH24:MI:SS');
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
nginx websocket ip_해시 규칙프로젝트 를 다운로드 한 후 서로 다른 네트워크 에 각각 이 demo 프로젝트 를 배치 합 니 다. 프로젝트 에서 환경 변수 에 따라 시스템 변 수 를 설정 합 니 다. spring.profiles.active=de...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.