Drops
DROP statements
DROP TABLE
Syntax in Transact-SQL
DROP TABLE [ IF EXISTS ] <table_name> [ ,...n ]
[ ; ] Syntax in Snowflake
DROP TABLE [ IF EXISTS ] <name> [ CASCADE | RESTRICT ]Translation
Translation for single DROP TABLE statements is very straightforward. As long as there is only one table being dropped within the statement, it's left as-is.
For example:
The only noteworthy difference between SQL Server and Snowflake appears when the input statement drops more than one table. In these scenarios, a different DROP TABLE statement is created for each table being dropped.
For example:
Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated
