Cancelling a session

If you have managed SQL Server or other relational database systems, you should be familiar with the unambiguous KILL command that disconnects the offending session and terminates the query executed on that session. Analysis Services has a similar statement, though it uses a somewhat milder term, CANCEL, perhaps more appropriate for the type of operation it performs. After all, the impact of terminating the session isn't always immediate, even in relational systems. If a user is running a large transaction affecting thousands or millions of records, it could take a long time to roll such transactions back. The CANCEL command is also different from KILL in a sense that it doesn't immediately terminate the session or query. ...

Get SQL Server Analysis Services 2012 Cube Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.