11-10-2020 11:57 AM
Hi,
I’m trying to put 2 parameters in Where Clause in Oracle Select with “and”
Below is my pipeline parameters. I put some values between ’ ’ (I don’t have to put it)
Below is my pipeline and Mapper settings
Below is my Oracle Select settings
I created trigger task, but when I put BEC_NAME and Prodcut_segment with Bearer_token, I don’t see data
I think this is caused by my where clause in the Oracle Select. Can you please help me?
FYI, I was successful to pull only 1 parameter (BEC_NAME)
Thank you
11-10-2020 09:01 PM
@yes1819 Yes , your has syntax issue it took $product_segment as value.It will be something like - “BEC_NAME='” + $BEC_NAME + " and PRODUCT_SEGMENT=‘" + $PRODUCT_SEGMENT+ "’"
11-11-2020 09:11 AM
Thank you Supratim,
I tried, but got below error message
11-11-2020 09:16 AM
Hi @yes1819
Put this in your Where clause and try:
"BEC_NAME = '"+$BEC_NAME+"' AND PRODUCT_SEGMENT = '"+$PRODUCT_SEGMENT+"'"
/Igor
11-11-2020 09:21 AM
Thank you Igor.
Now, I got this error