|Subject||Re: [firebird-support] How can I specify a query/transaction time out ?|
> Thank you for your quick response. My only option is then to wait forYes, but this isn't as easy as it sounds.
> the 2.1 final release and use a secondary connection to shut down the
> queries from the first one using the new mechanism?
InterBase 6.5 has a "cancel query" API call that's easy to use, cause
you can do it from your own application if you have the statement
handle (and you're executing the query in a thread).
By using the monitoring tables, you would have to figure out some way
to "know" what statement is yours. I haven't looked at it yet to see if
that's possible in an easy way.
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Database development questions? Check the forum!