Snowflake Vs MS-SQL - Part 109 - Convert Data Type - Decimal to Integer


Convert Data Type - Decimal to Integer

Sometimes, for various reasons, we need to convert decimal values to integer values.

MS-SQL Server

We can achieve it as follows:



In Snowflake, we use EXTRACT as follows:




Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Series

Snowflake Vs MS-SQL - Part 46 - RATIO_TO_REPORT

Snowflake Key Concepts