Redshift SQL query to populate calendar date table

0

I am trying to write a redshift sql query to populate a table with dates for 50 years of dates, calculate working days, weekly, monthly calculations etc. I have tried CTE and Recursive methods, but it seems I have some restrictions in my environment and they were not working.

Is there any alternatives? Or am I missing anything?

AK
已提問 1 個月前檢視次數 111 次
1 個回答
0
AWS
Don_D
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南