I have a few ms SQL scripts which I would like migrate to kettle. Ideally what I would like to do is for each step of the script to be a single step in kettle. But I am finding it difficult to wrap my head around the ms SQL statements and the related kettle step. Could someone please elaborate on which kettle step which can be used to do the following:
- select * from [table] - This one is obviously [Input->Table input]
- ALTER TABLE [table] ADD [fieldname] [nvarchar](255)
UPDATE b SET b.b_field = a.a_field FROM [table_a] a INNER JOIN [table_b] b ON right(b.b_identity,19)=a.a_identity where b.b_field is null
Step 3 is repeated with many other different tables with different fields compared.
Thank you.