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: 
castiellll
Contributor III
Contributor III

tMSSqlSCD inserting nulls into surrogate key

Hello,

 

While using the tMSSqlSCD component, I get this error "Cannot insert the value NULL into column 'sid_user', table".

sid_user is the surrogate key.

In addition, i can't find the action on table for this component, i need then to manage the table manually.

You will find attached some pictures.

 

Thank you in advance for your help.

Sofiane.

 

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@castiellll ,is it a new table,if yes you should put one single records to have default. based on that surrogate key column it will increase automatically. check below linke to know more about SCD components

https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/khYZl2ImWxITZQVA3BiIDA

View solution in original post

4 Replies
manodwhb
Champion II
Champion II

@castiellll ,is it a new table,if yes you should put one single records to have default. based on that surrogate key column it will increase automatically. check below linke to know more about SCD components

https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/khYZl2ImWxITZQVA3BiIDA

castiellll
Contributor III
Contributor III
Author

@manodwhb  Thank you for your reply.

Can you be a little bit more precise ?

Should I only insert a value or set something else ?

 

Thank you in advance.

castiellll
Contributor III
Contributor III
Author

Ok I got it. I really need to set the record manually. Thank you very much for your help.
manodwhb
Champion II
Champion II

@castiellll ,great,please give Kudos also 0683p000009MACn.png.