ora-02069 Error Handling method

Source: Internet
Author: User
Tags error handling create database oracle database

A few days ago, a DB Link between one Oracle database and another ORALCE database was created to insert data from one server into another machine, due to job requirements.

Oracle Server A:SID:SDH, USERID/PW:NM/NM

Oracle Server B:SID;GSGX, USERID/PW:GS/GS establishes the following DB Link:

Create a DB Link from B to a:

Create DATABASE link TestDB connect to nm identified by nm using ' SDH ';

DB Link was created successfully, select is correct, but when the Insert is executed,

I nsert into the A@testdb select * from A;

Quote the following error:

ora-02069 The global_names of this operation must be set to True.

After analyzing and finding resources, the name of the DB Link that was created must be the same as the SID of the target database for the INSERT statement to be executed;

Create DATABASE link SDH connect to nm identified by nm using ' SDH ';

After successful creation, the Insert statement operation succeeded!

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.