dbTalk Databases Forums  

Canceling a query using OLE DB

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Canceling a query using OLE DB in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christopher Stolte
 
Posts: n/a

Default Canceling a query using OLE DB - 07-11-2003 , 01:55 PM






Hi,

Is there any implemented mechanism for canceling a long-running MDX
query from a C++ app connected using OLE DB? e.g., the equivalent of
ICommand->Cancel?

thanks
Chris

Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Canceling a query using OLE DB - 07-20-2003 , 12:24 AM






Unfortunately no, there is no way from the programming language.
Operationally, you can go in with something like TCPView from
http://www.sysinternals.com and kill the underlying TCP connection. That is
the best you can do.

--

Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Christopher Stolte" <cstolte (AT) stanford (DOT) edu> wrote

Quote:
Hi,

Is there any implemented mechanism for canceling a long-running MDX
query from a C++ app connected using OLE DB? e.g., the equivalent of
ICommand->Cancel?

thanks
Chris



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.