I have a 2005 sql table that has 250,000 rows. We only work with the last 1000 or so rows. When it gets over 100,000 rows things start to slow down. I have been going in and deleting the rows by opening the table in sql management studio. If I delete more than 1000 at a time it takes forever and most of the time just locks up.
I read some stuff about truncating, but that seems to erase the whole table. Is there a query I can run that will delete the rows in chunks without locking up sql? Any other advice?