Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pl/sql returning boolean ????

_AZ_May 27 2009 — edited May 28 2009
I'm not sure what's wrong with this code :
declare

l_return boolean ;

begin
if 1 =1 then l_return := TRUE ;
end if;

RETURN l_return ;

end;
as part of button condition = "pl/sql function returning boolean" ....
It produces:
 
ORA-06550: line 9, column 1:
PLS-00372: In a procedure, RETURN statement cannot contain an expression
ORA-06550: line 9, column 1:
PL/SQL: Statement ignored

7. end;
This post has been answered by 134038 on May 27 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 25 2009
Added on May 27 2009
14 comments
8,417 views