Snowflake Vs MS-SQL - Part 7 - IF NOT EXISTS at Column Level
IF NOT EXISTS at Column Level
During your development, sometimes you may need to add NEW column in the existing table. As a common practise, you first need to confirm that column with same name does not exist.
MS-SQL Server
You can achieve this by checking the column name and if not exists then add new column.
Similarly, we can use to drop an existing column. The same command works in MS-SQL Server.
Yogesh Shinde
Comments
Post a Comment