Oracle® HTML DB
Release 2.0
  Go To Table Of Contents
Contents

Previous
Previous
Next
Next
 

Managing Database Links

A database link is a schema object in one database that enables you to access objects in another database. Once you create a database link, you can access the remote objects by appending @dblink to the table or view name, where dblink is the name of the database link.

Topics:

Creating a Database Link

To create a database link:

  1. Navigate to Object Browser:

    1. Click the SQL Workshop icon on the Workspace home page.

    2. Click Object Browser.

      Object Browser appears.

  2. Click Create.

  3. From the list of object types, select Database Link.

  4. Specify the following information and click Next.

    • Database Link Name

    • Connect To Schema

    • Password

    • Remote Hostname or IP

    • Remove Host Port

    • SID or Service Name

    A confirmation page appears.

  5. To view the SQL used to create the database link, click Show SQL.

  6. Click Create.

Browsing a Database Link

To browse a database link:

  1. Navigate to Object Browser:

    1. Click the SQL Workshop icon on the Workspace home page.

    2. Click Object Browser.

      Object Browser appears.

  2. From the Object list, select Database Links.

  3. From the Object Selection pane, select a database link.

    The Object Details View appears.

Summary of Available Views

Click the tabs at the top of the page to view different reports about the database link. Table 18-11 describes all available views.

Table 18-11 Available Views for Database Links

View Description

Object Details

(Default) Displays details about the database link. Actions you can perform include:

  • Drop - Deletes the database link

  • Test - Tests the database link

Dependencies

Displays a list of objects that use (or depend) upon this database link.

SQL

Displays the SQL necessary to re-create this database link.