Can you cancel a running OleDB query?
Posted: 16.11.2020, 22:42
Hi all!
I've been testing the TZConnection.AbortOperation method which works great for the supported drivers. I'm also using SQL Server through the OleDB interface, and it doesn't support this method, however I notice it has a "Cancel" method on the statement objects. Is that in any way similar? I tried using it but no luck (I think it doesn't do what I thought it might.) Any info appreciated!
-Mark
I've been testing the TZConnection.AbortOperation method which works great for the supported drivers. I'm also using SQL Server through the OleDB interface, and it doesn't support this method, however I notice it has a "Cancel" method on the statement objects. Is that in any way similar? I tried using it but no luck (I think it doesn't do what I thought it might.) Any info appreciated!
-Mark