Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello. I am new to Talend and learning.
I am trying to do a tDBSCD component on basic customer information. I am reading from SQL server and populating back into SQL server. When I run the job I get the following error: " Incorrect syntax near 'WHERE' " , repeated a number of times.
I included a screenshot below of the SCD setup.
Any help in discovering the cause of this error is appreciated.
Thank you.
No. the surrogate key is just a column with sequential numbers in your case. source key is the is the column with which you identify which row you are referring to. It is based on that key, say the customerid you decide if any of the dimensions like name or status or class has changed. For every change you will see a new record inserted with the existing record expired
@kwahl, Is it the tDBInput or the scd component that is giving the error?
Can you provide screenshots(the configuration section) of both the component?
tDBSCD is the component with the error
@kwahl , Can you also ensure the below columns (start and end) actually exist in your target table(the scd-2 table)?
oops, can't insert photo from email.
@kwahl , can you share the configuration of tDBSCD component?
@kwahl ,
The issue is there are no source keys mentioned. There has to be a key field on which a lookup will be made to see if any of the dimensions have changed.
Looking at your table I'm guessing customerid might be your key