If you want to access the data in instance B from instance A. Then this is a request, you can edit your corresponding credentials.
CREATE DATABASE LINK dblink_passport CONNECT TO xxusernamexx IDENTIFIED BY xxpasswordxx USING '(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=xxipaddrxx / xxhostxx ) (PORT=xxportxx)) (CONNECT_DATA= (SID=xxsidxx)))';
After executing this query, the access table
SELECT * FROM tablename@dblink _passport;
You can perform any operation DML, DDL, DQL
source share