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: Ok... this is driving me nuts!

RE: Ok... this is driving me nuts!

From: Oberkofler, Dieter <d.oberkofler_at_leadingbits.at>
Date: Wed, 13 Feb 2002 08:11:17 -0800
Message-ID: <F001.0040DF4D.20020213074826@fatcity.com>

i can't really remember the call command in pl/sql. where do you call it from? if you are in a pl/sql block you don't need a call but you might want to assign the return value to a variable! in sql*plus you need to assign the return value to a variable.

D

-----Original Message-----
From: Jesse, Rich [mailto:Rich.Jesse_at_qtiworld.com] Sent: Wednesday, February 13, 2002 16:03 To: Multiple recipients of list ORACLE-L Subject: RE: Ok... this is driving me nuts!

The first thing that strikes me is that you seem to be calling a function like a procedure.  Try "v_somenumber := RAKNAUPP.FAKTURANUMMER".

HTH!  GL!

Rich Jesse                           System/Database Administrator
Rich.Jesse_at_qtiworld.com              Quad/Tech International, Sussex, WI USA

----Original Message-----
Sent: Wednesday, February 13, 2002 8:23 AM To: Multiple recipients of list ORACLE-L

I have the following package defined....

PACKAGE         RAKNAUPP AS
FUNCTION FAKTURANUMMER RETURN NUMBER;
FUNCTION MEDLEMSNUMMER RETURN NUMBER;
FUNCTION OCRNUMMER RETURN NUMBER;
FUNCTION INBETNUMMER RETURN NUMBER;
END RAKNAUPP;
.
.
.

It works fine, except when I try to run it with call:

call RAKNAUPP.FAKTURANUMMER;

Then I get:

ORA-06576: not a valid function or procedure name call <ERROR>'raknaupp.fakturanummer'

And I'm about at my wits end here... I can't for my life figure out why this isn't working as it is suposed to!

Could someone please figure out what I am doing wrong?????????

Stefan Jakobsson

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jesse, Rich
  INET: Rich.Jesse_at_qtiworld.com


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 Wed Feb 13 2002 - 10:11:17 CST

Original text of this message

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