RelationalDBDesign
RedhatLinuxSys Seomining
prev next prev next
Course navigation
Lesson 8 Overview of Oracle's topology solution, part 2
Objective Describe the role of database links in establishing database connectivity.
Having defined a service name, the next step in establishing database connectivity is to create database links that take the service name and add a remote user ID and password. Once defined by the DBA, these remote databases can participate in queries and updates from within any Oracle application. For example, databases in London and Paris can be defined to the Denver system with the following SQL extension:
CREATE PUBLIC DATABASE LINK london
 CONNECT TO 'user_id' IDENTIFIED BY 'secret_password'
 USING 'london_unix';
CREATE PUBLIC DATABASE LINK paris
 CONNECT TO 'user_id' IDENTIFIED BY 'secret_password'
  USING 'paris_vms';
Course navigation