Forum Discussion
igormicev
5 years agoContributor
Hi @yes1819
Now, I see you have two single quotes for $BEC_NAME and $PRODUCT_SEGMENT. If those variables already have single quotes, then you shouldn’t add single quotes in the where clause expression
"BEC_NAME = "+$BEC_NAME+" AND PRODUCT_SEGMENT = "+$PRODUCT_SEGMENT+" "
or try this with the expression toggle (= sign) of the where clause turned off:
BEC_NAME = $BEC_NAME AND PRODUCT_SEGMENT = $PRODUCT_SEGMENT
If you still have issues, then try using the “Oracle - Execute” snap. Give it an input/output View and write your own SELECT statement combined with the variables (dynamic expression - SQL statement)
/Igor