New Webinar: Govern roles, shares, and data movement in Snowflake

Learn how to govern Snowflake roles, shares, and data movement without slowing delivery. Join our live webinar on controlling drift, permissions, and audit readiness.

dropAttribute

Last updated: September 2, 2025

The dropAttributes tag specifies information about attributes you drop with the alterCompositeTypeAttributes change type.

Available attributes

Name

Type

Description

Requirement

name

String

Name of the attribute

Required

ifExists

Boolean

Drops objects only if they exist in the database.

Optional

onDelete

String

Set to CASCADE or RESTRICT. CASCADE automatically drops objects that depend on the type. RESTRICT does not drop the type if any objects depend on it. Default: RESTRICT.

Optional

dropAttribute examples

loading