
Originally Posted by
divroro12
This has to be automated & delete will take forever....millions of records in the table as well as indexes & constraints
The process you posted would take much more time than a delete.
If you have large table perhaps the best alternative is to use partitioning.
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb