insert into TNW_FUND_SELORG(TFDINFOID,TSOINFOID) select TFD_INFO_ID,TSO_INFO_ID from TFD_SEL_FUND@LINK_TO_OLDFUNDWEB_DB
/*修改原字段名*/
ALTER TABLE 表名 RENAME COLUMN 字段名 TO 字段名1;
/*添加一个和原字段同名的字段*/
ALTER TABLE 表名 ADD 字段名 VARCHAR2(30);
/*将原来的数据更新到新字段中*/
UPDATE 表名 SET 字段名 = CAST(字段名1 AS VARCHAR2(30));
/*删除原来的备份字段*/
ALTER TABLE 表名 DROP COLUMN 字段名1;
create global temporary table ipop_topic_temp
as select * from ipop_topic@prod.us.oracle.com where rownum=1insert into ipop_topic_tempselect * from ipop_topic@prod.us.oracle.com where application_id=1000insert into ipop_topic
select * from ipop_topic_temp