Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Delete and append records based on a parameter

Reddy4
7 - Meteor

 

Hi,

 

I am using a dynamic input tool to pass a month parameter and pull the records for that month from Oracle. I want to Insert these records to a table but before that I would like to delete any records for that month (If they exist).

 

I have used a simple Pre Create SQL Statement - DELETE FROM Tablename WHERE Month = &&Month. I am using an action button to update the PreSQL Statement's &&Month, but it doesn't work. It looks like the parameter is not reaching the Pre-SQL Statement

 

Can someone help me achieve it.

 

 

P.s: I cannot use In-DB tools

2 REPLIES 2
danilang
19 - Altair
19 - Altair

hi @Reddy4 

 

Can you post your workflow?  If not, post images of the config of the action tool that should be updating the &&month values

 

Dan

Reddy4
7 - Meteor

I got it working when I ran it as an Analytical app

Labels