I have a database cleanup stored procedure, you know, sp_cleanup(), really fancy on the name. By far the easiest thing is going to be if there is some way I can run this, maybe as a batch file or ...
I have a database that's got (amongst other things) two tables: one for astronomical objects (called tblObject) and another that holds measurements for those objects (called tblMeasurement).