Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Dynamic SQL Question

nickfonze
5 - Atom

Is there a way to create a workflow that runs SQL that references data produced upstream in the same workflow?

For example, I'm currently manually running a SQL query in one database, this output is placed into a SQL temp table in another database, which is then queried alongside additional code/criteria. 

2 REPLIES 2
BrandonB
Alteryx
Alteryx

The Dynamic Input tool: https://help.alteryx.com/current/designer/dynamic-input-tool and the Dynamic Input In-DB https://help.alteryx.com/current/designer/dynamic-input-db-tool are going to be perfect for these purposes

nickfonze
5 - Atom

Looks like the Dynamic Input In-DB should work in this situation, do you happen to know of an example workflow where data is placed into a temp table using In-DB tools, followed by that data being referenced and queried against using a separate database connection? Thank you!

Labels