Azure – Snowflake : Get next Saturday date from today using stored procedure
I need to get the upcoming saturday based on the date field in table. I need to implement code using snowflake javascript stored procedure. Suggestions appreciated. When following query is executed using snowflake console, I get result. SELECT next_day(TO_DATE(MAX(SALE_DATE)),'Saturday') FROM…