ORA-06553: PLS-382: expression is of wrong type
Friday, March 28th, 2008When you deal with PL/SQL functions, you have sometimes to create a function returning a boolean. This is an example: CREATE OR REPLACE FUNCTION I_AM_A_HERO ( name VARCHAR2) RETURN BOOLEAN is BEGIN if (name = 'Petrelli') THEN RETURN TRUE; ELSE RETURN FALSE; END IF; END; But if you wan't to execute it like ...
