One possible reason... you're defining check_for_name as a function, but
you're running it as a procedure.  You can try 
     select check_for_name('Cruise') from dual;


Dennis



> [EMAIL PROTECTED] wrote:
> 
...
> CREATE OR REPLACE FUNCTION check_for_name (
> p_name_to_check VARCHAR)
> 
> RETURN BOOLEAN IS
...
> But, whenever I try to do this :
> 
> EXECUTE check_for_name('Cruise');
> 
> so I can run the function from PL/SQL Developer I get the following
> error :
> 
...
>  *
> ORA-06550: line 2, column 2:
> PLS-00221: 'CHECK_FOR_NAME' is not a procedure or is undefined
> ORA-06550: line 2, column 2:
> PL/SQL: Statement ignored
>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Dennis M. Heisler
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to