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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Insert and Update rows in Fact table of data warehouse

Hi,

I am facing an issue while performing insert or update operation in Fact table. My scenario is : I have selected 3 columns in update key and one of the column from the 3 is null , I need to update the value which contains null with the next value of that id and that column is in update key.

 

I want to perform one to many relationship using tmssqloutput component for both insert and update, for that I have set Action on data to insert or update. I have set update key in Advanced Settings( Use field options).

 

Thanks,

Dhara

 

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi,

 

   Since you are trying to match the keys with null, the records will not match. The reason is that DB will not consider one null as equal to another null. So you will have to use other columns which can uniquely identify the record and perform the match based on those columns.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂