Paralell jobs an parameters
Posted: Fri Jan 05, 2007 7:30 am
Hi.
I'm new to parallel jobs, but have som experience with server jobs.
When I use parameters containing quotes, the quotes are removed when the SQL is prepared. I use Source.Read Method=User Defined SQL.
I use the Oracle Enterprise stage.
Example:
I have a job parameter named PARAM1 and it contains 'value1', 'value2'
In the SQL:
Select column1 from table where column2 IN(#PARAM1#)
In the prepared SQL the quotes are removed, with a SQL error as result.
This does not happen in Server jobs ?
If I use the ViewData function on the Oracle Stage, the quotes are not removed, and data is returned.
Chris.
I'm new to parallel jobs, but have som experience with server jobs.
When I use parameters containing quotes, the quotes are removed when the SQL is prepared. I use Source.Read Method=User Defined SQL.
I use the Oracle Enterprise stage.
Example:
I have a job parameter named PARAM1 and it contains 'value1', 'value2'
In the SQL:
Select column1 from table where column2 IN(#PARAM1#)
In the prepared SQL the quotes are removed, with a SQL error as result.
This does not happen in Server jobs ?
If I use the ViewData function on the Oracle Stage, the quotes are not removed, and data is returned.
Chris.