<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run Queries in Parallel in Alteryx Connect Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Run-Queries-in-Parallel/m-p/1410903#M2374</link>
    <description>&lt;P&gt;The Batch Macro will run in sequence. That is how it's designed. So, changing the structure of your workflow is going to be the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could have the batch macro create all the statements, and so the output of the Batch Macro is each of the statements, and then pass them all at once to the DB. If you want the outputs to be separate though, then you will need to have separate streams.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other Out-of-the-box thought I had was having the statements write to a temp table, so that way your batch macro is just passing the statements, not waiting for results, and then call the temp table afterwards.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 01:25:48 GMT</pubDate>
    <dc:creator>KGT</dc:creator>
    <dc:date>2025-08-29T01:25:48Z</dc:date>
    <item>
      <title>Run Queries in Parallel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Run-Queries-in-Parallel/m-p/1410535#M2372</link>
      <description>&lt;P&gt;I have a batch macro that creates sql statements from rows of an excel sheet and then runs the sql against my db.&lt;/P&gt;&lt;P&gt;each row of my excel defines a single sql statement.&amp;nbsp; At the moment the queries are run in sequence.&amp;nbsp; I want all the queries to be run in parallel.&lt;/P&gt;&lt;P&gt;Is there a way to achieve this in a single Workflow?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 14:49:53 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Run-Queries-in-Parallel/m-p/1410535#M2372</guid>
      <dc:creator>asaeed78</dc:creator>
      <dc:date>2025-08-27T14:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Run Queries in Parallel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Run-Queries-in-Parallel/m-p/1410903#M2374</link>
      <description>&lt;P&gt;The Batch Macro will run in sequence. That is how it's designed. So, changing the structure of your workflow is going to be the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could have the batch macro create all the statements, and so the output of the Batch Macro is each of the statements, and then pass them all at once to the DB. If you want the outputs to be separate though, then you will need to have separate streams.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other Out-of-the-box thought I had was having the statements write to a temp table, so that way your batch macro is just passing the statements, not waiting for results, and then call the temp table afterwards.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 01:25:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Connect-Discussions/Run-Queries-in-Parallel/m-p/1410903#M2374</guid>
      <dc:creator>KGT</dc:creator>
      <dc:date>2025-08-29T01:25:48Z</dc:date>
    </item>
  </channel>
</rss>

