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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
JMichaud
Contributor
Contributor

Moving an extra field

Hi

I'm moving data from a Sql Server database To MySql database and I want to log at the end of the process the unique key from the SQL Server with the unique key of the MYSQL Database.

I don't have a field in the MySql databse to store the unique key of the SQL Server database and I want to avoid creating one.

Here is the pipeline that i have right now

0693p00000AbzbnAAB.png

In the tOutputDB1 I have this schema

0693p00000AbzbsAAB.png

I want to output the Season_ID to the next step so I can log it in my csv file

But if I leave the database column empty I get an error.

What is the best way to achieve that ?

The end goal is to have a csv file that will have Season_ID from the SQL Server and the lastInsertedId from the MYSql Database.

Thanks

Labels (3)
2 Replies
manodwhb
Champion II
Champion II

@Jean-Philippe Michaud​ , check the below link you need to use tDbconnection with that only it will work.

 

https://help.talend.com/r/ircIB~9lV5b5iHIXv5FNPg/YKDfwAorwulJkpR_5xgB4Q

 

 

Thanks,

Manohar

JMichaud
Contributor
Contributor
Author

Hi

 

Thanks for the answer

The tDbConnection is already there and I don't have an issue getting the last insert id from the MySql Database.

My issue is more to make the id from the source table flow from the first database to the last step .

 

From the tMap I can extract the Season_ID wich is the id of my initial table.

 

But when I get to the insert, since this Season_ID is not in the destinaton table, I can't map it to go to he next step and insert in my csv file

 

If I leave the db_column empty it fails