Snowflake Vs MS-SQL - Part 107 - Create or Alter Table - Add Column


Create or Alter Table - Add Column

You design a table to meet your current requirements, and after a few days, you might need to add an additional column to the existing table.

MS-SQL Server

We can achieve it by altering the table structure as follows:



In Snowflake, we can use a similar approach as above; however, we can make use of ALTER as follows:




For more details, refer to the ALTER section.


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 Key Concepts