using dbi module on windows to cancel a sql query

C

Charles

Hey,

Is there a way to cancel a sql query on windows? I got a perl script
who is lauch from a c++ application. The script does some query on a
remote database. The user can kill the script whenever they want
(closing main appl, pressing a cancel button you kill the script). Is
there a way to tell the perl script, using dbi, to cancel the current
query before dying... I check the dbi doc:

http://search.cpan.org/~timb/DBI-1.14/DBI.pm#Signal_Handling_and_Canceling_Operations

And the cancellation work only with signals and is not "safe". It look
impossible to cancel a query on windows since there is no signals, but
I don't beleive that anyone didint encounter the same problem before!

Thanks for any help.

Charles
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top