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

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:[EMAIL PROTECTED]]
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
[EMAIL PROTECTED]              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: [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