Oracle Replication column Values

Source: Internet
Author: User

Requirement Description: Adds a field to a table that already exists in the test environment and manually adds data to this column of a subset of the data in the table, and now wants to be able to add the field to the formal environment and copy the values that already exist in the test environment to the formal environment. Because the test environment and the formal environment are the same as the table structure, but not in the same library, the solution is:
1. Create a new database links in the test environment
2. Copy through the following statement:

UPDATE ext_organinfo eopSET    eop.thumbnailmap = (SELECT eo.thumbnailmap                           FROM   [email protected] eo                           WHERE  eo.organ_id = eop.organ_id)WHERE  eop.organ_id IN (SELECT eo.organ_id                        FROM   [email protected] eo                        WHERE  eo.thumbnailmap IS NOT NULL )

The new database links process is as follows:
1. In the left column of Plsql, locate the database links right-click New, the database links are created as follows:

Oracle Replication column values

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.