Q3) In the example 2, you can see the delete statements are similar
except Athe table name. Now we will pass only the table name to the sql
transformation. The source table contains the below data.
Solution:
Create the input port in the sql transformation as Table_Name and enter the below query in the SQL Query window.
Table Name: Del_Tab Tab_Names ---------- sales products
Solution:
Create the input port in the sql transformation as Table_Name and enter the below query in the SQL Query window.
Delete FROM ~Table_Name WHERE Product = 'LG'
No comments:
Post a Comment