Snowflake Vs MS-SQL - Part 67 - Set Multiple Variables

        



Set Multiple Variables

Sometimes we get the values from table and assign to multiple variables.


MS-SQL Server 

We can achieve this as below:


However, in Snowflake, this can be achieved in little bit different way as below: 





      

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