With Restrict on Drop

Description

Indicates that the table cannot be dropped, and that the table space that contains the table cannot be dropped.

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

The With Restrict On Drop option is not applicable in Snowflake.

Grammar Syntax

Sample Source Patterns

IBM DB2

CREATE TABLE TestTable (
COL1 INT
) WITH RESTRICT ON DROP;

Snowflake

CREATE TABLE TestTable (
COL1 INT
)
-- ** MSC-WARNING - MSCEWI1002 - REMOVED NEXT STATEMENT, NOT APPLICABLE IN SNOWFLAKE.  **
--WITH RESTRICT ON DROP
;
  1. MSCEWI1002: REMOVED STATEMENT, NOT APPLICABLE IN SNOWFLAKE.

Last updated