Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Boolean Function Problem.
>MOORE WROTE:
>Oh please help me!
>
>What is wrong?
>
>SQL> CREATE OR REPLACE
> 2 FUNCTION FOO RETURN BOOLEAN IS
> 3 BEGIN
> 4 RETURN TRUE;
> 5 END FOO;
> 6 /
>
>Function created.
>
>SQL> select foo from dual;
>ERROR:
>ORA-06550: line 1, column 12:
>PLS-00382: expression is of wrong type
>ORA-06550: line 1, column 7:
>PL/SQL: Statement ignored
>
>
>no rows selected
>
>Hi,
There is no Boolean datatype in oracle. Just PL/SQL
Sandy
>
>
>
>
>
Received on Wed Mar 15 2000 - 17:55:00 CST
![]() |
![]() |