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