Hi,
Using D2010 to SQL Server 2008
I have a TUniScript executing from a thread when the application starts up. The script typically takes between 5 and 30 seconds to run. It runs the script within a single transaction.
Normally this works well except if the user decides to close the application immediately after starting it, perhaps they didn't intend to run it, etc.
How can I terminate the thread and the script cleanly and abort the transaction without waiting for the script to finish?
Thanks in advance,
Regards, Paul.