日期:2014-05-16  浏览次数:20524 次

oracle查找于dblink远程数据库表不一致并创建补齐表及数据

 select 'create table hfmis.' || table_name || ' as select * from ' || table_name || '@link1;' from 
 (select table_name from user_tables@link1
				minus
	select table_name from all_tables where owner = 'HFMIS')

?

?