Hello,
I need the ability to compare data amongst 2 DB schemas for purposes of archive testing. I was able to get a workflow going for comparing 1 set of tables but I would like to build a batch macro to be able to run through all the scenarios I need in 1 workflow. Forgive me for the attempt on the macro development as this is my first one. My thought was that I would build the SQL with a table, send it through the workflow, transpose it as I needed, and then combine all the results in one place. As all the tables that are queried have different fields, dynamic input was failing. And since each transpose should be done on one of the key fields being input (MAIN_ID), that was also failing as that needs to be dynamic as well.
Can I pull different data tables (building different SQLs) using a macro and transpose them dynamically based on an input field to creating the SQL? My desired results would be to have a table where the actual/expected value failures would be all in one output file.
The file Data Compare is the workflow that functions as I would like (but with just 1 specific SQL data pull).
The SQL_batch2 macro and simple_batch workflow was my attempt at trying to put together the SQLs (and miserably failed).
Any guidance would be wonderful!