A Brief Introduction to two ways to create a Database Link in Oracle

Source: Internet
Author: User

OracleHow to Create a databaseDatabase LinkWhat about it? This article mainly introduces this part. There are two ways to create a Database Link in Oracle Database: menu and SQL.

Create A dblink named dblink_name, which is connected from database A to database B. Database B has the IP address 192.168.1.73, port 1521, Instance name oracle, login name tast, and password test.

Menu mode:

Open plsql, click File> New> Database link to open the window shown in

After filling in the information, click Apply to create the Database Link.

SQL Method

 
 
  1. -- Drop existing database link
  2. Drop public database link dblink_name;
  3.  
  4. -- Create database link
  5. Create public database link dblink_name
  6. Connect to SYSTEM
  7. Using '1970. 168.1.73: 192/oracle ';

The above two methods are used to create a Database Link in Oracle. We will introduce this article. If you want to know

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.