使用的是data studio,所以末尾不加分号
create database link to_test connect to scott identified by "tiger.1" using ‘(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = bylw) ) )‘
xxx.xxx.xxx.xxx是要连接的数据库ip我的密码中有. 属于特殊字符,必须加""才能通过。 用法:首选备份表:create table t_wfd_process_info20170918 as select * from t_wfd_process_info然后删除旧表:delete from t_wfd_process_info之后将xxx.xxx.xxx.xxx表中的数据塞入本数据库的表中:insert into t_bpm_group select * from t_bpm_group@TO143
时间: 2024-10-10 10:47:17