I'm using an expression transformation to dynamically generate a query which serves as the input to my SQL transformation. Since the query is already generated in the expression, i'm using String substitution.
Issue: My generated query is more than 4000 characters long and hence the query is truncated while being read in the SQL transformation(since the query port is varchar2 and it accepts a max of 4000 characters) and is throwing an error.
How do i overcome this issue?
Unfortunately, i cannot use parameter binding since the parameters can be used only in the WHERE clause of the query and my query is not very straightforward.