-
-
Save JoanMora/049395e1f104c0245141ed4e38a08c85 to your computer and use it in GitHub Desktop.
BigQuery : Generate range of dates
This file contains 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