To add further, for filtering on one value, the following odata service works - note the single apostrophe around the input parameter value:
foodstuff.xsodata/InputParams(P_FOODSTUFFID='1001')/Results?$select=NUTRIENT,CC_IP
giving the following - note no quotes around the value of the input parameter CC_IP:
<d:NUTRIENTm:type="Edm.String">04:00</d:NUTRIENT>
<d:CC_IPm:type="Edm.String">1001</d:CC_IP>
multiple apostrophes around an input parameter single value, as indicated earlier in threat by Peter dont work for me here (no results)
foodstuff.xsodata/InputParams(P_FOODSTUFFID='''1001''')/Results?$select=NUTRIENT,CC_IP
@Peter - Can you remember how you declared your input parameter? I'm thinking along the lines of how my input parameter is declared (column, direct etc) and how that affects how the values are passed in, both in a SQL test and with oData.