Declaring MySQL variable in Dataflow
Is it possible to declare a global variable in MySQL Dataflow?
What I am trying to do is declare a variable in one transformation and call that variable in a different transformation
Here's an example of what I am trying to do:
Transformation1(SQL - No Output)
SET @testvar = 1;
Transformation2 (Table) -
SELECT * FROM test_table WHERE some_column = @testvar
This doesn't seem to work. @testvaris just null in this case.