Possible to cancel query execution?
Possible to cancel query execution?
Is is possible to cancel an executing query, like Query Analyzer does? Thanks.
Ray Mond
Ray Mond
Assuming that I can cancel executing query from main thread with BerakExec. This mean I must run query in separate thread. But now I want to have both possibilities: to cancel query, running in the separate thread and to display recordset in a grid in main thread.
The question is: how can I put recordset in main thread?
With ADO I can handle it just assigning MainThreadADODataSet.Recordset = InterruptableThreadADODataSet.Recordset;
on thread terminate.
But with SDAC I have no idea.
The question is: how can I put recordset in main thread?
With ADO I can handle it just assigning MainThreadADODataSet.Recordset = InterruptableThreadADODataSet.Recordset;
on thread terminate.
But with SDAC I have no idea.