Snowflake Vs MS-SQL - Part 73 - First Coming Sunday

         



First Coming Sunday

Sometimes you have to calculate first for the coming Sunday. You must use that date for further calculations or filtering.

MS-SQL Server 

We can achieve this as follows:




In Snowflake, we can use a similar approach as below. 







For more details, you can refer to the following: NEXT_DAY
.


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

Snowflake Vs MS-SQL - Part 70 - UNION By Name