Comparing SQL Query Outputs
Query Result Sets Analyzer allows you to compare results of two SQL SELECT statements executed in the same or different SQL Editors. You can compare two results sets produced in the same SQL Editor if the result sets are retrieved from the same database server. You can compare two result sets produced in different SQL editors when results sets are retrieved from two different database servers.
To compare two query result sets:
Execute first SQL SELECT in the SQL Editor. After the result set is produced, press Pin button located on the result set toolbar to keep this result set.
Execute second SQL SELECT statement in this SQL Editor. *** NOTE *** You can also achieve the same result if you execute two SQL SELECT statements at the same time as a script, with statements separated by ; separator character. Both result sets will be produced at the same time in two Output tabs in the SQL Editor (they also can be produced in one tab - one above another - if you choose Results in Single Tab option before executing the script).
*** NOTE ***
If a second query should be executed against a different database server, you will have to open a second SQL Editor connected to that database server and execute the query from the second editor.
After both result sets are produced, select any result set grid by clicking on it and choose Compare Data from the popup menu. Second level of the popup menu shows all results sets produced in all opened SQL Editors in the following form :