Hi!
The question is as follows:
I have two costy update SQLs, which I want to execute simultaniously, is it possible?
To explain better, assume, that the following code will work:
ExecuteInBackground('Update ...');
ExecuteInBackground('Delete ...');
ExecuteInBackground('Insert ...');
ExecuteInBackground('Update ...');
WaitForBackgroundQueries;
Where ExecuteInBackground, executes some statement in background, on some server (load balancing will choose one), and WaitForBackgroundQueries will wait for the completion of all the background queries and raise any exceptions in case of errors (please note, not really background, as I need notification of completion).
Thanks for any assistance!!!
The question is as follows:
I have two costy update SQLs, which I want to execute simultaniously, is it possible?
To explain better, assume, that the following code will work:
ExecuteInBackground('Update ...');
ExecuteInBackground('Delete ...');
ExecuteInBackground('Insert ...');
ExecuteInBackground('Update ...');
WaitForBackgroundQueries;
Where ExecuteInBackground, executes some statement in background, on some server (load balancing will choose one), and WaitForBackgroundQueries will wait for the completion of all the background queries and raise any exceptions in case of errors (please note, not really background, as I need notification of completion).
Thanks for any assistance!!!