Snowflake Vs MS-SQL - Part 56 - DATA TYPE CONVERSION

                 


DATA TYPE CONVERSION

Many times you need to convert data from one data type to another data type. 
Suppose you have string '2025-01-01' and want to convert it into DATE Format.

MS-SQL Server

We can achieve this by using the CAST() OR CONVERT() functions as below.



In Snowflake, we can use a similar approach and also other functions are available. 



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



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