title: How do we use a boolean on a where statement in Oracle?
body: <p>I have another problem with PLSQL and would like to ask for your help. To explain the problem I will use a simple example: I have a table "tab" having for columns "code" and "description" and a function returning a boolean. I would like to select every code, description such that myFunction(code)=true.
  I tried this statement: </p>
  
  <pre><code>SELECT code, description from tab where myFunction(code)=true
  </code></pre>
  
  <p>I got this error : </p>
  
  <blockquote>
    <p>ORA-00900 : invalide SQL-statement.</p>
  </blockquote>
  
  <p>Thank you in advance guys.</p>