title: Evaluate the GROOVY expression in Oracle SQL/PLSQL
body: <p>I have one <code>Groovy</code> expression. (stored in master table but let's consider it as an individual string for this question)</p>
  
  <p>Example of <code>Groovy</code> expression: <code>if(shortName.equals("do not include")){return false;}; return true;</code></p>
  
  <p>I want to use it in my oracle SQL query to consider this groovy expression to filter the records. Please note that the <code>shortName</code> is the column of the database table.</p>
  
  <p>I want something like this:</p>
  
  <pre><code>SELECT * FROM MYTABLE
  WHERE SOME_FFUNCTION_TO_EVALUATE_GROOVY(&lt;GROOVY_EXPRESSION&gt;);
  </code></pre>
  
  <p>Thanks in advance.</p>