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

Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL Packages

Re: PL/SQL Packages

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 2000/06/09
Message-ID: <960582525.27293.0.pluto.d4ee154e@news.demon.nl>#1/1

Your newshopper function is invalid/didn't compile. Issue select * from user_errors
to find out what the errors are.
The other errors are a result of the invalid function.

Hth,

Sybrand Bakker, Oracle DBA

SP <spant1_at_aol.com> schreef in berichtnieuws Bib05.904$Qf6.34547_at_nuq-read.news.verio.net...
> To my earlier posting:
> I found out the error message was due to the fact that I didn't end the
> package body and variable newcustid wasn't declared.
>
> I've another question though when I execute the function I got the
 following
> error messages:
>
> SQL> variable c refcursor
> SQL> exec :c := newshopper('tom','joe')
> BEGIN :c := newshopper('tom','joe'); END;
>
> *
> ERROR at line 1:
> ORA-06550: line 1, column 13:
> PLS-00905: object SA.NEWSHOPPER is invalid
> ORA-06550: line 1, column 7:
> PL/SQL: Statement ignored
>
>
> SQL> print c
> ERROR:
> ORA-24338: statement handle not executed
>
>
> SP2-0625: Error printing variable "c"
> I appreciate your response.
> SP
>
>
Received on Fri Jun 09 2000 - 00:00:00 CDT

Original text of this message

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