Use single SQL statement for auto purge schedule