title: Return boolean value from oracle function
body: <p>Trying to return value from function </p>
  
  <pre><code>create or replace function compairenumber(num1 in number,num2 in number)
  return boolean is
  begin
  if num1 &lt; num2 then
  return true;
  else 
  return false;
  end if;
  end;
  </code></pre>
  
  <p>when i'm giving query 
  select compairenumber(5,10) from dual
  its not returning true or false.</p>