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
demandé il y a un mois122 vues
1 réponse
0
AWS
Don_D
répondu il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions