Hi Ravi,
In the target table, we always use map by column name.
first when we faced this issue, it took lot of time (few days) to figure that the columns are getting swapped right after SQL Transform. we confirm that by placing a temp table after Query transform
that is joined with SQL transform.
Thanks,
Balaji