--创建DBLINK 连接外围数据库
CREATE DATABASE LINK fk_LINK --fk_LINK DBLINK名字
CONNECT TO sdwf IDENTIFIED BY sdwf --sdwf 用户名 sdwf 密码
USING ‘(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = xe) --xe sid服务名
)
)‘;
时间: 2024-10-10 06:54:42