Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

4/29/24, 2:54 PM DDL (Data Definition Language) Commands | Snowflake Documentation

Reference SQL Command Reference General DDL


DDL (Data Definition Language)
Commands
DDL commands are used to create, manipulate, and modify objects in Snowflake,
such as users, virtual warehouses, databases, schemas, tables, views, columns,
functions, and stored procedures.
They are also used to perform many account-level and session operations, such as
setting parameters, initializing variables, and initiating transactions.
The following commands serve as the base for all DDL commands:
ALTER <object>
COMMENT
CREATE <object>
DESCRIBE <object>
DROP <object>
SHOW <objects>
USE <object>
Each command takes an object type and identifier, as well as additional parameters
and options. The descriptions for the individual commands provide the syntax and
full list of parameters that can be specified for each command. The descriptions
also provide detailed usage notes and examples.
The commands are grouped into the following categories:
Account & Session DDL
User & Security DDL
Warehouse & Resource Monitor DDL
Database, Schema, & Share DDL
Table, View, & Sequence DDL
Data Loading / Unloading DDL
DDL for User-Defined Functions, External Functions, and Stored Procedures
Data Pipeline DDL
Listings DDL
Machine Learning Model DDL
https://docs.snowflake.com/en/sql-reference/sql-ddl-summary 1/1

You might also like