Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
- Posts: 26
- Joined: Wed 04 Oct 2006 01:41
If a query or a execute form a tmsstoredproc takes too long I would like to terminate it.
The termiation would be done from another thread.
What is the best way to go.
- Posts: 512
- Joined: Thu 26 Jan 2006 10:06
You are right. You can call BreakExec to break execution of stored procedure on the server.
It makes sense to call BreakExec only from another thread.