• The code in the article doesn't check that the EventCloseDate older than 6 days when it does the delete. Is it that the EventCloseDate is always present and monotonically increasing with the EventId?

    It also won't always delete all the rows, for example, if there are 5000 rows that need deleting it will only delete the first 4000.