-- Drop existing database link
drop database link GYYLHZ2019;
-- Create database link
create database link GYYLHZ2019
connect to GYYLHZ2019 identified by "1"
using '(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.80.26)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)';
网友评论