November 12, 2024 — Additional CREATE OR ALTER commands — Preview

With this release, we are pleased to announce the preview of additional CREATE OR ALTER commands. These commands combine the functionality of the CREATE command and the ALTER command. A CREATE OR ALTER statement executes as a CREATE statement if the object doesn’t exist. If it does exist, it transforms the object according to the object definition in the statement.

CREATE OR ALTER TABLE provides a declarative and idempotent approach to defining your Snowflake objects. When used together with the Git integration, this enables an Infrastructure-as-Code (IaC) approach to database change management.

With this preview, the following additional objects are supported:

For more information, see CREATE OR ALTER <object>.