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

         



First Coming Sunday

Sometime you have to calculate first coming Sunday. You have to use that date for further calculation or filter.

MS-SQL Server 

We can achieve this as below:




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

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 33 - INITCAP