Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

MYSQL Primary Key

Hi guys, im working with the component tAmazonMysqlOutput, and when i try to upload a table to it from one of my excels it asks me for a primary key.

 

How can i tell the component to generate a row from 1 to whatever number of rows i insert from my excel and use it as a primary key?

 

Because the columns of the excel im working on dont have an id which i can use for the primary key.

 

Ty !

Labels (2)
4 Replies
TRF
Champion II
Champion II

If you don't have a natural pk in your Excel file, you may add one when you read the file using a sequence in a tMap or tJavaRow.
Anonymous
Not applicable
Author

Can you show me a quick demo or some pics? im new with talend dont know how to do that 0683p000009MPcz.png
vapukov
Master II
Master II


@gonzalogtzwrote:

Hi guys, im working with the component tAmazonMysqlOutput, and when i try to upload a table to it from one of my excels it asks me for a primary key.

 

How can i tell the component to generate a row from 1 to whatever number of rows i insert from my excel and use it as a primary key?

 

Because the columns of the excel im working on dont have an id which i can use for the primary key.

 

Ty !


would be better, if You first show, HOW it is:

it asks me for a primary key.

?


Anonymous
Not applicable
Author

I got it, Thanks! 0683p000009MACn.png