@s260m107 wrote:
I want to update the target table with some values from another table.I tried using update transformation and table-loader,it didn't work.
My target table has a column note_type with values 'GRAD' and 'note'.I want to update the column reason_code for only 'NOTE' from another worktable in sas di.Could anyone let me know please.
DIS questions are best asked in the Data Management forum here.
From what you describe the SQL Update transformation feels right.
"it didn't work" is very vague. Assuming this means the job run without errors but the target table did't get updated: Most likely code is that you either didn't set-up the transformation as you should or the data in the key column is not matching (eventually wrap an upcase(compress(note_type) around the column (for both source and target table column).
To investigate what's happening: Have a look into the generated SQL Update code. Does it look right? Else start changing the configuration for the SQL Update transformation until the generated SQL code looks right. Eventually post the generated code here.
... View more