| Start |
|---|
Creating a database link The remote DB will then be accessible in the following way: To test a database link connection without needing to know any of the object names in the linked database, use the following query: To explicitly specify a domain for the linked database service, the domain name is added to the If no domain name is explicitly specified, Oracle uses the domain of the database in which the link is being created. Oracle documentation for database link creation: |
| Create Database Link Let we assume we have two databases "ORA1" and "ORA2". We can access the objects of "ORA2" from database "ORA1" using a database link. Prerequisites:
For creating a private Database link you need a *Oracle Net (opens new window) must be present on both the instances. How to create a database link: From ORA1: Database link created. Now that we have the DB link set up, we can prove that by running the following from ORA1: You can also access the DB Objects of "ORA2" from "ORA1", given the user Pre-requistes:
|
Read Article
https://develop.horje.com/learn/1434/reference