Cleanup Debug Tables
Last updated
Last updated
The process of migrating EDFacts data to the Reports tables automatically creates a set of tables in the debug schema that provide the student IDs that make up the aggregated counts. They are especially useful when doing file comparison and matching work. Those tables can build up over time. This utility provides a means of keeping those tables in check.
There are four options for managing the debug tables. Execute the stored procedure using the parameters as follows:
Leave both parameters blank and delete ALL tables in the debug schema
Pass a reportcode, ex, 'c002', for @reportCode and delete all the tables in the debug schema for that report (all school years)
Pass a 4 digit School Year for @reportYear and delete all the tables in the debug schema for that School Year (all reports)
Pass in values for both parameters and delete all the tables for only the specified report for only the specified school year