Working days between two dates in Snowflake
问题 Is there any ways to calculate working days between two dates in snowflake without creating calendar table, only using "datediff" function 回答1: After doing research work on snowflake datediff function, I have found the following conclusions. DATEDIFF(DAY/WEEK, START_DATE, END_DATE) will calculate difference, but the last date will be considered as END_DATE -1. DATEDIFF(WEEK, START_DATE, END_DATE) will count number of Sundays between two dates. By summarizing these two points, I have