QuestionQ109

VerifiedScripting and Automation

A developer encounters timeouts while testing a SQL Query Activity in Automation Studio.

How should the developer optimize the query?

Explanation

Data staging with intermediate tables splits a large or multi-join query into smaller, more efficient queries, reducing execution time and helping prevent SQL Query Activity timeouts. Salesforce recommends using holding tables for the smaller queries and a final query to combine the results.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!