Snowflake Vs MS-SQL - Part 86 - Modulus/Modulo Function - Remainder


Modulus/Modulo Function - Remainder

While calculating, if you want to find the remainder, then we can use this.

MS-SQL Server 

We can achieve it as follows:



In Snowflakewe can use a similar approach; however, we can use MOD as follows:




For more details, refer to the MOD 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