Compare Result of SQL Query
Compare Result of SQL Query
feature allows you to compare the result of Select SQL statement (with any complexity).
Use ANSI 92 SQL standard syntax.
Before you execute comparison:
- On both sides (trees), Connect to Database (one database on each side)
- To enable SQL tab, select any object
on the tree. If you select Table from the tree, you will immediately get
Select statement in SQL tab, using this table.
To compare the SQL result:
- Write Select SQL statements on both sides (use ANSI 92 SQL syntax)
- On each side use Exec SQL to run the SQL statement
- Compare the result:
On the
main menu, use Compare->SQL Queries Results
OR
Use Compare SQL Queries
Results icon on the tool-bar
Understanding the Comparison report:
- If the compared objects have identical data, only the information message is returned.
- If the objects have different data, the Data
Differences dialog will open
Grid contains lines with different colors:
- Red font – different data
- Blue font – record exist only in one of the compared objects
- Black font – identical information
To become familiar with Comparison Differences dialog manipulations, see Comparison Differences dialog
See also: