Snowflake Vs MS-SQL - Part 82 - Generate Unique Identifier

           


Generate Unique Identifier

Sometimes, we need to generate a unique identifier and use it consistently throughout our code.

MS-SQL Server 

We can achieve it by using built-in functions as follows:




In Snowflake, we can use a similar function, UUID_STRING (), as below:




For more details, refer to the UUID_STRING section.


Yogesh Shinde

LinkedInProfile

 <<< Back Next >>> 

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 70 - UNION By Name

Snowflake Vs MS-SQL - Part 68 - Multi Table Insert