You will need a TNS entry to the remote server to create a dblink.
The TNS Entry:
pump171=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.17.1.171)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Ultimus)
)
)
The Command:
CREATE PUBLIC DATABASE LINK pump171 connect to ultimusisl identified by isl USING 'pump171';
To Query a table using this link:
select * from schott.emp@pump171
If you want to drop the Database Link:
drop public database link pump177;
--------------------------------------------------------------------
Happy to Help !!!
caetini_bu David Lampkin https://www.planit.land/profile/3-Idiots-hindimovie-EXCLUSIVE-Full-DVDRiP-Movie-epub/profile
ReplyDeletenondwanneumeds