Is the OR operator supported in a persistent stored
module?

e.g.
---------------------
create function tmp_myfunction(a integer)
returns table (val integer)
begin
    if a < 1 or a > 100 then
        return table (
           select val from mytable
        );
    else
        return table (
           select val from another_table
        );
    end if;
end;
---------------------

will return the error:
ERROR = !SELECT: no such binary operator 'or(int,int)'




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
MonetDB-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-users

Reply via email to