Is there an easy way to execute queries in parallel? I have a query that has something like this:
delete from TableA where id = @id
delete from TableB where id = @id
delete from TableC where id = @id
...
and I want to do them in parallel. I can also use C#, though not sure how.
First idea is to have separate threads and separate connections but I think you can manage it with multiple connections in a single thread using async callbacks: