Last active
May 29, 2020 19:00
-
-
Save paslandau/0cb51ba9e532a71fff5108f156afd2f5 to your computer and use it in GitHub Desktop.
Declare and use variables in BigQuery
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
-- Declare and use variables in BigQuery; 2020-05-29 | |
-- @see http://www.pascallandau.com/bigquery-snippets/use-variables/ | |
DECLARE foo_var STRING DEFAULT "foo"; | |
SELECT foo_var |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: Declare and use variables in BigQuery