Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!

Alteryx Designer Desktop Discussions

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

In-DB Dynamic Join Question

crey
5 - Atom

I'm trying to write a macro that would join two tables using the In-DB tools but I want the columns or fields used in the join to by dynamic or updatable.  Is that even possible?

2 REPLIES 2
patrick_mcauliffe
14 - Magnetar
14 - Magnetar

@crey

Short answer - yes.

Long answer - it depends on your workflow.  I would write a formula tool that looks at column and table names and generates the SQL needed for this and then pass that to a Dynamic In-DB tool.

crey
5 - Atom

@patrick_mcailiffe

Thanks for that idea, I followed it and it works for me!

Labels