Skip Locked

Description

Specifies that rows are skipped when incompatible locks that would block the progress of the statement are held on the rows by other transactions.

This clause is not supported in the update statement of Snowflake

Click here to navigate to the IBM DB2 docs page for this syntax.

Grammar Syntax

Sample Source Patterns

IBM DB2

DELETE FROM table1 WITH RR SKIP LOCKED DATA

Snowflake

DELETE FROM
PUBLIC.table1
-- ** MSC-WARNING - MSCEWI1002 - REMOVED NEXT STATEMENT, NOT APPLICABLE IN SNOWFLAKE. UPDATE WITH OPTION **
--WITH RR
       
-- ** MSC-WARNING - MSCEWI1002 - REMOVED NEXT STATEMENT, NOT APPLICABLE IN SNOWFLAKE. UPDATE SKIP LOCKED OPTION **
--        SKIP LOCKED DATA

Last updated