Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Interface tool for output tool updating

chvizda
8 - Asteroid

Hi all

 

I'm have some problems to perform following workflow.

 

I have a teradata database and want to update these, based on the date in IR_TIMESTAMP and data in IR_ID and IR_NODE which I want to select via 3 Interface tools.

 

After selecting this, following update statement should performed with the red data from the interface tools.

 

UPDATE ADV_ANA_MRT.T_VIZDA_CS_KPI_1H
SET "IR_DAY_PERC_DOWN"='0',
"IR_DAY_PERC_UP"='100',
"IR_REFDOWN_String"='0',
"IR_HOUR_PERC_UP"='100',
"IR_HOUR_PERC_DOW"='0',
"IR_DAYCHNG"='0'
WHERE "IR_ID" like 'NOV001%' AND "IR_NODE"='\MI-P-PROGNOSIS'
AND CAST("IR_TIMESTAMP" AS DATE)='2021-11-14';

 

Is this possible ?

 

If yes, can you plese give some tips !

 

Many thanks

Steffen

1 REPLY 1
afv2688
16 - Nebula
16 - Nebula

Hello @chvizda ,

 

Have you tried inserting the tools within a batch macro and replace the values in there? It might be the easiest way for you. Having a control parameter for each value would be probably the easiest solution.

 

Regards

Labels
Top Solution Authors