Snowflake Vs MS-SQL - Part 92 - Stop or Cancel the Running Query


Stop or Cancel the Running Query

While executing a query, we noticed it was taking unusually long to complete. In such situations, it’s important to know how to safely stop or cancel the execution to avoid performance bottlenecks and system impact.

MS-SQL Server 

We can achieve it as follows:




In Snowflakewe can use CANCEL_QUERY as follows:





For more details, refer to the CANCEL_QUERY section.


Yogesh Shinde

LinkedInProfile

<<< Back Next >>>

Snowflake Vs MS-SQL - Series

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 70 - UNION By Name

Snowflake Vs MS-SQL - Part 68 - Multi Table Insert