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

Home -> Community -> Usenet -> c.d.o.misc -> Compilation unit analysis terminated- SOLVED

Compilation unit analysis terminated- SOLVED

From: <shall_at_uaex.edu>
Date: 19 Jan 2007 06:55:24 -0800
Message-ID: <1169218524.233411.68680@38g2000cwa.googlegroups.com>


As a newbie, I got the following error

Error: PL/SQL: Compilation unit analysis terminated Error(1,14): PLS-00905: object NAMEEMP.AMERGDIR is invalid Error(1,14): PLS-00304: cannot compile body of 'AMERGDIR' without its specification

I spent a few hours in trying to solve this. What caused my error was in the package,
(NOT THE BODY) I had

Function mystuff( v_sql_tx varchar2(100)) RETURN varchar2;

I should have had

Function mystuff( v_sql_tx varchar2) RETURN varchar2;

I hope this helps someone else.
Thanks.
Steve Received on Fri Jan 19 2007 - 08:55:24 CST

Original text of this message

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