PLS-00900: can't find body of unit 'string'



PLS-00900: can't find body of unit 'string'..

Answer / guest

Cause: At run time, the body of a program unit could not be
found. This can happen for one of two reasons. -- First,
there may be a unit 'a' which calls a module 'b', where the
spec for 'b' exists but not the body. In this case, since
the spec is present, there will be no compile-time errors.
-- Secondly, this can occur if there is a reference to a
sequence outside of the proper context such as a SQL
statement. In this case, the "spec" of the sequence
reference can be found, but it is invalid to actually run
code which references the sequence outside a SQL statement,
as in: i := seq.nextval;

Action: If caused by the first reason, create a body for the
object that is being referenced. If caused by the second
reason, move the sequence into a SQL statement. For example,
i := seq.nextval; can be replaced by: select seq.nextval
into temp from dual; i := temp;

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

ORA-30367: a JOIN KEY clause is required

1 Answers  


ORA-06265: NETNTT: break protocol error

1 Answers  


ORA-30725: JDWP-based debugging is not yet available

1 Answers  


ORA-19661: datafile string could not be verified

1 Answers  


ORA-09369: Windows 3.1 Two-Task driver bad instance handle

1 Answers  






RMAN-06710: script string not found in catalog

1 Answers  


ORA-25959: join index must be of the bitmap type

1 Answers  


LSX-00154: attribute "use" must have its value set to "optional"

1 Answers  


PCB-00201: Indicator variable string not a group item

1 Answers  


AUD-00806: first argument to SpeechContains must be a column

1 Answers  


PCC-00128: Command line processor severe error

1 Answers  


QSM-01073: materialized view, string, has a join not found in query

1 Answers  


Categories