Is there an escape character for the SQL text box in the SQLExecutor?
If I try the following SQL against and Oracle database - select OFFICER from officer where lower(email) = '@Value(userName)'
where userName value is in the format of it will fail because FME turns @Value(userName) into a string (evidenced by highlights in this picture).
If I format my userName field to 'myemail@address.com' and remove the single quotes in the query as per this picture, the query will succeed
Obviously I can run this through extra transformers to format my values beforehand but this is adding unnecessary processing and workbench bulk.
Here https://knowledge.safe.com/questions/36933/how-to-prevent-single-quotes-turning-my-parameter.html @daleatsafe has stated that FME doesn't touch single quotes, but it appears from my first picture that it does? Or I have misunderstood something in that post.
Also select OFFICER from officer where lower(email) = '''@Value(userName)' runs without causing a rejected message, but it does not output anything.
Every other combination of quotes I've tried other than those shown above results in a rejected message (e.g. wrapping the value in "'" or ''' etc).