Using the PL/SQL Developer tool to implement the comparison of the same table name table structure

Source: Internet
Author: User

Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the following sources, otherwise, the legal responsibility to pursue copyright.

Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/45746893

Experiment:

Plan the table for the experiment.

Library

User name

User table

A Library

Scott

Emp

B Library

Hyl

Emp

The Scott user does the comparison verification, as follows:

Select the table that you want to compare to, such as:

Add the target user connection as follows:

Start the comparison, as follows:

After the comparison is complete, a modified SQL statement is formed by a comparison of the results, as follows:

There are also several gadgets in the sidebar, such as:

You can view the differences in the table structure by building a table statement, such as:

We execute the "fix statement" below to the target table, as follows:

Again under the Scott user with the hyl user under the EMP table structure to do a comparison, as follows:

We can see that the table structure is no different, as follows:

Summary:

When using PL/SQL Developer to compare the table structures of different libraries and different users under the same table name, the operation is as follows:

tools>compare User objects> selects a SQL modification statement that is generated >target session>compare> than the table.

Original works, from the "Blue Blog" blog, Welcome to reprint, please be sure to indicate the following sources, otherwise, the legal responsibility to pursue copyright.

Deep Blue Blog:http://blog.csdn.net/huangyanlong/article/details/45746893

Using the PL/SQL Developer tool to implement the comparison of the same table name table structure

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.