Scripting and stored procedures now in BigQuery | Google Cloud Blog

Scripting and stored procedures are now available in BigQuery to make queries and tasks easier to execute.