閃回表操作語法 使用閃回刪除

2021-08-02 06:17:59 字數 894 閱讀 8670

閃回表操作語法

flashback table 【 schema.】 table_name

to :

引數說明:

schema:使用者模式

before drop:表示恢復到刪除之前。

new_table_name :重新定義表名稱。

timestamp:時間戳,包括年月日時分秒。

expr:指定乙個值或表示式。

enable triggers:觸發器恢復後,呈啟用狀態。

disable triggers:觸發器恢復後,呈禁用狀態。預設情況下為此選項

使用閃回刪除

--恢復表

--恢復表,並重命名

通過**站唯一名稱恢復表

閃回表操作語法 使用閃回刪除

閃回表操作語法 flashback table schema.table name to 引數說明 schema 使用者模式 before drop 表示恢復到刪除之前。new table name 重新定義表名稱。timestamp 時間戳,包括年月日時分秒。expr 指定乙個值或表示式。enab...

mysql 閃回 Mysql資料閃回操作備忘

準備工作 更新mysql客戶端到5.7版本 shell wget i c shell yum y install mysql57 community release el7 11.noarch.rpm shell yum y install mysql community server 檢查mysq...

oracle回閃操作

查詢test表中記錄 select from test 刪除test表中記錄 delete from test 獲得過去的會話 exec dbms flashback.disable 查詢出3分鐘前這個test表的情況 select from test as of timestamp systime...