Snowflake Vs MS-SQL - Part 64 - ALTER Table ADD Column

         



ALTER Table ADD Column

Business requirements change during development or even after the project goes live, and you want to add an additional column to the existing table.


MS-SQL Server 

If we want to add a new column to the existing table, it is always better to check whether it exists. For this, in SQL, you have to perform 2 steps as below:




However, in Snowflake, this can be achieved in a single step. 




   

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 36 - SPLIT_TO_TABLE

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 33 - INITCAP