This has to be automated & delete will take forever....millions of records in the table as well as indexes & constraints