TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 24-OCT-2019 15:36:16
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = lab-drsite.lab.local)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL)))
OK (0 msec)
ทำการสร้าง Database Link
SQL>
create public database link "link_name" connect to "username" identified by "password" using 'oracle_sid' ;