We have a single database that we want to run tests against. Some of these are as simple as ensuring that the periods are Jan-Dec. Some are as complex as ensuring that the dollars per transaction are reasonable. We would like to run these multiple tests as SQL (e.g. SELECT COUNT(*) FROM [table] WHERE PERIOD IN ('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec')).
We are looking for a batch macro that will run the various SQL's against a single database and then output the results of each SQL query to a single output table.
Any assistance we can get with the building of this batch macro will be greatly appreciated. If more information is required, please ask.