Snowflake Vs MS-SQL - Part 54 - RANDOM

               


RANDOM

Your table has many records and if you want to sort them randomly.

MS-SQL Server 

We can achieve this by using the NEWID() as below.



In Snowflake, we can use a similar approach by using RANDOM()



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



Yogesh Shinde

LinkedInProfile

<<< Back Next >>>

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