oracle查找于dblink远程数据库表不一致并创建补齐表及数据
select 'create table hfmis.' || table_name || ' as select * from ' || table_name || '@link1;' from (select table_name from user_tables@link1minusselect table_name from all_tables where owner = 'HFMIS')
?
?
发布时间: 2012-07-29 15:26:14 作者: rapoo
oracle查找于dblink远程数据库表不一致并创建补齐表及数据
select 'create table hfmis.' || table_name || ' as select * from ' || table_name || '@link1;' from (select table_name from user_tables@link1minusselect table_name from all_tables where owner = 'HFMIS')
?
?