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 - Series

Snowflake Vs MS-SQL - Part 79 - Adding a comment to the Column of a Table

Snowflake Vs MS-SQL - Part 75 - String Length and Trimmed Length