Parameterized Query Not Functioning on Oracle DB with LIKE Statement?

Greetings,

I am trying to run the query below to return emails that are like the current user email who is initiating this.

However, I don't get any query results when I run this. I'm connecting to an Oracle DB. Any suggestions?

Comments

  • Hello there!

    You will want to alter the LIKE (%:email%) to LIKE '%'||:email||'%' if you are connecting to Oracle. This should resolve the issue.

    -Gregory

Sign In or Register to comment.