Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
JMartinezB
Contributor
Contributor

Transform one row in two rows

Hi.

I am migrating data from a Oracle database to another.

 

With the new model, one row in one table becomes two dependent records in two tables.

That is, for each row in the table in the origin schema, multiple data is collected and an insert is performed in a table in the destination schema. The id of this insert (sequence) should be retrieve and used to make a second insert into a second table along with the rest of the data in the row of the source schema.

 

This is possible?

Labels (3)
4 Replies
vboppudi
Partner - Creator III
Partner - Creator III

Please provide some source sample data and expected results.

 

Regards,

Veeru

JMartinezB
Contributor
Contributor
Author

Per each row bussiness:

 

0693p000008uyZNAAY.png

 

 

manodwhb
Champion II
Champion II

@Javier Martinez​, first load the address table and in the second job load new_business and while loading do do lookup with address table to get address_id.

JMartinezB
Contributor
Contributor
Author

@Manohar B​ 

This isn't valid. The same address can be in several business, only the address_id differentiates them in a new_business. This is so that the address can be edited independently.