Drops
DROP statements
Some parts in the output code are omitted for clarity reasons.
DROP TABLE
Syntax in SQL Server
Syntax in Snowflake
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:
IN -> SqlServer_01.sql
OUT -> SqlServer_01.sql
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:
IN -> SqlServer_02.sql
OUT -> SqlServer_02.sql
Last updated