select \’drop table \’ || t.TABLE_NAME || \’;\’ col1,\’create table \’ || t.TABLE_NAME ||
\’ as select * from \’ || t.TABLE_NAME || \’@db_link_84;\’ col2
from all_tables@db_link_84 t
where t.OWNER = \’JHHMS\’
and t.TABLE_NAME like \’QUALITY%\’
Oracle建表(A库到B库)
未经允许不得转载:爱站程序员基地 » Oracle建表(A库到B库)