数据更新后,找回原数据方法
oracle短时间内丢失数据,找数据的方法,顺便建立新表。
create table "SysDictionary"
as
select * from TABLENAME_BAK as of timestamp to_timestamp('2011-11-11 10:00:00', 'yyyy-mm-dd hh24:mi:ss');
要是sql server,丢失数据找到方法比较麻烦使用的是Log+Explorer的工具。具体没试过。
oracle改变表名,列名的方法:
rename "table_name" to table_name
更改表列名的命令
alter table xnms_autoaction rename column methodid to uciid;