最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

BigQuery: Running Several Queries Sequentially in One Scheduled Query - Stack Overflow

programmeradmin3浏览0评论

I have recently realized that some individual queries placed in a single schedule do not execute sequentially. I was wondering how I can ensure that these queries run only after the previous query has completed.

I have recently realized that some individual queries placed in a single schedule do not execute sequentially. I was wondering how I can ensure that these queries run only after the previous query has completed.

Share Improve this question asked Mar 18 at 6:43 Ryan ChandraRyan Chandra 1341 silver badge10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You could write an array of queries, Iterate over that array and execute each one using EXECUTE IMMEDIATE command. Here's a sample.

发布评论

评论列表(0)

  1. 暂无评论