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