Hi @StewartBW ,
You can try using a temporary table to store the IDs of the rows to be deleted, and then perform a single delete operation based on this temporary table.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.