Hi Guys!!
I am new to Kettle and getting an issue while passing the value of variable in Execute SQL Script task. Below is the image of the kettle I am trying:
1.jpg
In "Set variable", I am assigning the output of "Table Input 2" to variable CURRENTTS and then based on this ${CURRENTTS} value I am able to get the data from "Table input" step and then the data is getting populated into other table using "Table Output".
Now after "Table output" I want to update the value of variable ${CURRENTTS} into a table for which I used "Get variable" & "Execute SQL Script" but at this point ${CURRENTTS} becomes NULL.
Please suggest me ways to update the variable value in the table.
I am new to Kettle and getting an issue while passing the value of variable in Execute SQL Script task. Below is the image of the kettle I am trying:
1.jpg
In "Set variable", I am assigning the output of "Table Input 2" to variable CURRENTTS and then based on this ${CURRENTTS} value I am able to get the data from "Table input" step and then the data is getting populated into other table using "Table Output".
Now after "Table output" I want to update the value of variable ${CURRENTTS} into a table for which I used "Get variable" & "Execute SQL Script" but at this point ${CURRENTTS} becomes NULL.
Please suggest me ways to update the variable value in the table.