1.查看回收站中的表: select object_name,original_name,partition_name,type,ts_name,createtime,droptime from recyclebin; 2.恢复表: flashback table (表名) to before drop 或flashback table (回收站中的表名) to before drop;…
保证两个数据表结构相同,如不相同只能同步相同字段; 只是思路,具体请根据需求修改. declare cursor csrn_mon is select * from table2; row_mon csrn_mon%rowtype; cursor csrn_loc is select * from table1; row_loc csrn_loc%rowtype; cursor csrn_del is select xh from table1 minus select xh from tabl…