Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Write Data In-DB tool can append but not delete and append

TG17
6 - Meteoroid

Hello,

My organization is exploring efficiencies that can be made by utilizing In-DB tools in Alteryx Designer. For our first use case, i have been working with a table that when updated deletes the old data then appends the new data (delete data and append in the write data in-DB tool). When I attempt this however, I get an error saying the table doesn't exist, or i don't have permissions. Our IT team has given me delete, insert, create, read, etc. permissions, and on top of that, when I select the append existing option for the in-DB tool it works just fine... Anyone have this experience before/know how to correct it so the table properly deletes data, then appends the new data?

 

Looking at other forums on this some have mentioned checking the pre-SQL, but my use case is a little different as I am using the Data Stream In tool on a dynamic input. This little tidbit may not add value to the conversation, but thought i would add it just in case.  

3 REPLIES 3
ericsundby
Alteryx Alumni (Retired)

The first things that come to mind is either a permissions issue on the database side, or possibly a mistake on the Alteryx configuration side. Here are some things I would check.

  • Run a query on the database side to make 100% sure that you do in fact have permissions to delete tables, and not just rows. Depending on the database, there usually is a difference.
  • On the Alteryx side, make sure you're logged in as the correct user and are connecting to the correct schema.

 

Also, would you mind telling me the type of database and version you're using, along with the version of Alteryx Designer?

apathetichell
19 - Altair

when you say database - what kind of database are you running - the driver and alteryx's interaction with the db can vary greatly.

TG17
6 - Meteoroid

Hello, 

I ran everything database side and it appears my delete permissions are working, as well as the Alteryx account being signed into the correct user, and based off of the data that has successfully appended it is connected to the correct schema.

 

We are using Microsoft SQL Server, version 12.0.6433.1... Alteryx Designer is 2020.1.2.24185

Hope this helps!

 

Labels