Snowflake Vs MS-SQL - Part 25 - Variables

   


Variables

During coding, we define the variables and store the value in those variables. We can use those variables later on.

MS-SQL Server 

You can use the DECLARE keyword to define the variables and either SELECT or SET clause to assign the value to those variables.




In Snowflake, we can go with a similar approach.



For more details, you can refer to the following Variables.




  

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