We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Where to define the primary key while updating data into a database table?

abdullah_noor23
7 - Meteor

I have a workflow, that appends some record and updates some record in a database table. The append output works, but for the update option I am getting an error. See attachment.

 

Can anyone please help me with this? Where and how can I define primary key for this workflow?

 

abdullah_noor23_0-1680822343905.png

 

3 REPLIES 3
ArtApa
Alteryx
Alteryx

Hi @abdullah_noor23 - It should be one of the options in your Output Data tool:

ArtApa_0-1680848075971.png

 

danilang
19 - Altair
19 - Altair

Hi @ArtApa 

 

When did the Key for Update option get added?  It's not on the File Format Options help page.

 

Dan

 

 

 

 

ArtApa
Alteryx
Alteryx

@danilang - Options are slightly different for different data sources. It depends on what a data source supports. Flat files don't have keys. 

Labels
Top Solution Authors