This is on SQL2012 Standard
Looking for recommendations to remove large number of rows of data (millions) from a table that has tens of millions of rows. Records older than 9 years will be removed.
Have 2 options in my mind:
1. Create a temp table with records I want to keep, drop existing table, rename temp table. Recreate index, etc.
2. Create automated process to delete in batches
Which is recommended in terms of performance impact and duration?