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 - Series

Snowflake Vs MS-SQL - Part 79 - Adding a comment to the Column of a Table

Snowflake Vs MS-SQL - Part 75 - String Length and Trimmed Length