Print Thread
FAQ: PLS-00801 when compiling a program unit
#10143 01/28/03 11:48 PM
Joined: Sep 1999
Posts: 21
F
faq Offline OP
Member
OP Offline
Member
F
Joined: Sep 1999
Posts: 21
I

Re: FAQ: PLS-00801 when compiling a program unit
#10144 01/28/03 11:55 PM
Joined: Sep 1999
Posts: 22
S
Administrator
Offline
Administrator
S
Joined: Sep 1999
Posts: 22
PLS-00801 is by definition an Oracle Server bug. In situations where a compilation works correctly in SQL*Plus, the problem is most likely related to debug information. To work around this, you can disable the debugger preference

Re: FAQ: PLS-00801 when compiling a program unit
#10145 10/08/03 02:41 PM
Joined: Apr 2003
Posts: 84
Parma, Italy
N
Member
Offline
Member
N
Joined: Apr 2003
Posts: 84
Parma, Italy
Just happened to me the same thing!
To add another detail to the picture:
My package compiles without problem (even
with debug info) under 8.1.7
Porting it into 9.2 raises the error.
So it seems something changed in the
debug api between these two versions?

Re: FAQ: PLS-00801 when compiling a program unit
#10146 10/08/03 11:22 PM
Joined: Aug 1999
Posts: 22,216
Member
Offline
Member
Joined: Aug 1999
Posts: 22,216
PLS-00801 is by definition an Oracle Server bug, and therefore it may well be that the problem occurs in one version and not in the other. Even if the problematic version is newer.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: FAQ: PLS-00801 when compiling a program unit
#10147 12/02/03 12:15 AM
Joined: Dec 2003
Posts: 1
Dallas TX.
G
Member
Offline
Member
G
Joined: Dec 2003
Posts: 1
Dallas TX.
I cannot add debug info (right click - add debug) to my package because it returns with an error saying the package compiled with errors and marks the package as unusable. I am running Oracle 9.2 and client 9.2. It works fine in 8.1.7.

Re: FAQ: PLS-00801 when compiling a program unit
#10148 12/02/03 02:04 AM
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Member
Offline
Member
Joined: Jul 2003
Posts: 1,140
Virginia, USA
Could this be because PL/SQL under 8.x was more forgiving? We ran into a case where a package that compiled under 8.1.7 broke when moved to 9.2.


Scott Mattes
Re: FAQ: PLS-00801 when compiling a program unit
#10149 12/03/03 01:11 AM
Joined: Feb 2003
Posts: 22
Lakewood, CO, USA
T
Member
Offline
Member
T
Joined: Feb 2003
Posts: 22
Lakewood, CO, USA
All -

We have this same "internal error" problem. It's actually a bug in Oracle9i that has issues around using cursor%rowtype variables. Oracle said it will not be fixed until the next patch... in February. The work around is to define your cursor in the package specification instead of somewhere in the package body. Yes, this is not the best coding technique, but it allows us to upgrade to 9i now!

- Tim

Re: FAQ: PLS-00801 when compiling a program unit
#10150 07/16/04 01:52 PM
Joined: Jul 2004
Posts: 24
Germany
H
Member
Offline
Member
H
Joined: Jul 2004
Posts: 24
Germany
We have had similar problems with 9i when packages contains new/ unknown/ changed objects due to a mixed up script.
It appears also in SQLPlus.


regards

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.033s Queries: 14 (0.012s) Memory: 2.5255 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-10 15:46:21 UTC
Valid HTML 5 and Valid CSS