Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Executing same query for multiple connection

kschmittjr
5 - Atom

I have 6 different DB locations that I need to execute the same query on and append them all together into one data set.  Instead of creating a connection for each one and then append is there a way to configure a tool or macro to loop through the connection names or strings to reduce the steps?

1 REPLY 1
apathetichell
19 - Altair

connection names:

 

batch macro:

text input:

first db name - query (two columns)

dynamic input-in-db

datastream out.

macro out

control paramter - action tool - text input (field 1 with your connection name)

 

outerworkflow - macro - feed in connection names.

 

alternative approach - use a batch macro with dynamic input/input data/whatever you use that isn't in-db - and update string there.

 

I prefer option 1. 

 

No - I will not provide you a sample workflow unless  - you provide me a sample query and sample db name.

Labels
Top Solution Authors