Long story short I have a rather huge SQL script to write...or it seems unavoidable to me anyway. Basically when dealing with a support item it was discovered a fix had skipped out a bunch of records.
Now in order to correct this I need to write an update script to fix all the information that was missed. The problem is this change will touch on over 20 tables. Do I really have to write some huge ass script, declare a bunch of variables at the top and update each table one by one?
Is there a better way to do this?
Now in order to correct this I need to write an update script to fix all the information that was missed. The problem is this change will touch on over 20 tables. Do I really have to write some huge ass script, declare a bunch of variables at the top and update each table one by one?
Is there a better way to do this?