Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Can't code for s.... peanuts

Re: Can't code for s.... peanuts

From: Dennis M. Heisler <dheisler_at_binghamton.edu>
Date: Mon, 23 Jul 2001 11:32:48 -0700
Message-ID: <F001.003524C1.20010723112426@fatcity.com>

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

> oqij4ngfcrweuh001_at_sneakemail.com 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: dheisler_at_binghamton.edu

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: ListGuru_at_fatcity.com (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).
Received on Mon Jul 23 2001 - 13:32:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US