Last active
March 23, 2024 01:39
-
-
Save n0531m/be7fd875ad010c43398d032ac6bba492 to your computer and use it in GitHub Desktop.
BigQuery : Generate range of dates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT day | |
FROM UNNEST( | |
GENERATE_DATE_ARRAY(DATE('2020-01-01'), DATE('2020-01-31'), INTERVAL 1 DAY) | |
) as day |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment