In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Retrieve data via SQL connection using the data during run timeRetrieve data via SQL conne

RajatK
8 - Asteroid

Hi,

 

I have a situation wherein I am trying to retrieve SQL data during run time and the filters for the SQL statement depend of the data flowing out of one of the tools (during run time).

 

RajatK_0-1684488275414.png

 

 

These are the 19 records which are outputted from one of the Sort tools and this needs to be further used to edit an SQL script which would read something like this:

 

Select * from TABLE_NAME where company_code in ('2R,'SC','B118',.....) and account_number in ('10120','10127',....) and functional_currency in ('USD',CRC',.....)

 

Any insights would be helpful. Thanks :)

 

 

2 REPLIES 2
geraldo
13 - Pulsar

@RajatK 

 


An example workflow follows. Make necessary adjustments for data and test connections. I believe this is the way to go.

 

RajatK
8 - Asteroid

@geraldo, wow! This is super helpful. Thank you!

Labels
Top Solution Authors