I have to convert a lot of legacy SQL queries to stored procs (rewriting and tidying) and I m looking for an efficient way to compare the results one by one to ensure I haven t modified the behaviour. I currently use SQLDelta but it requires me to pipe the results of each query into tables and transfer one to a separate server using SSIS. This is because SQL Delta is geared around comparing databases / tables rather than data sets. It won t compare tables in the same DB.
Really what I want to know is does anyone have a method / tool to compare ad hoc query results in a SQLDelta manner (that is, matching up matching rows on PK, highlighting differences, spacing results to show additional / missing rows in each set). Ideally I d paste the before and after SQL in and generate the results. Results sets can be ~10 to 200k rows and ~50 columns.
Can t believe I can t find something along these lines via google. Any help appreciated.
Thanks