Cancelling a SQL job [email protected] (Simon Hutchinson)

​Have you ever been in the position of having a SQL statement running in ACS’s Run SQL Scripts, RSS, and you realize that the reason it is taking so long is something in your selection criteria is too large. I am sure the same thought has crossed all of our minds: “Wouldn’t it be nice if I could just cancel this statement!”
There is a way to do this using the procedure: CANCEL_SQL. The documentation describes this as:
CANCEL_SQL() procedure provides an alternative to end job immediate

This is true I could cancel the RSS job with the End Job command, ENDJOB, with the *IMMED option:
Read more » Read More 

Verified by MonsterInsights