Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You kinda have that already for certain databases[1] with DELETE TOP 100. We have a few cleanup tasks that just runs that in a loop until zero rows affected.

That said, I agree it would be nice to have a DELETE BATCH option to make it even easier.

[1]: https://learn.microsoft.com/en-us/sql/t-sql/statements/delet...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: