Write Data In-DB tool can append but not delete and append
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Labels:
- In Database
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
when you say database - what kind of database are you running - the driver and alteryx's interaction with the db can vary greatly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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!
