Category Archives: PLS Database Error Messages

PLS-00213: package STANDARD not accessible

oracle

PLS-00213: package STANDARD not accessible
Cause: The PL/SQL compiler could not find package STANDARD in the current Oracle database. To compile a program, PL/SQL needs package STANDARD.
Action: Make sure that package STANDARD is available in the current Oracle database, then retry the operation.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00212: could not obtain enough memory to compile CASE statement

oracle

PLS-00212: could not obtain enough memory to compile CASE statement
Cause: The CASE statement is too big. The compiler did not have enough storage to process it.
Action: No action required since CASE statement not supported in releases 1.x,2.x, or 3.x.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00211: CASE labels or ranges must not be duplicated in different WHEN clauses

oracle

PLS-00211: CASE labels or ranges must not be duplicated in different WHEN clauses
Cause: In this CASE statement, a value appears in more than one WHEN clause. A value may appear in at most one WHEN clause of a CASE statement.
Action: No action required since CASE statement not supported in releases 1.x,2.x, or 3.x.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00210: an OTHERS clause is required in this CASE statement

oracle

PLS-00210: an OTHERS clause is required in this CASE statement
Cause: Unless the clauses of a CASE statement mention all values of the type of the selecting expression, an OTHERS clause must be provided as the last clause of the CASE statement. It is impossible to cover all values of type INTEGER (or NUMBER), so an OTHERS clause is always required when the expression following the keyword CASE is of type INTEGER (or NUMBER).
Action: No action required since CASE statement not supported in releases 1.x,2.x, or 3.x.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00209: table ‘string’ is not in FROM clause

oracle

PLS-00209: table 'string' is not in FROM clause
Cause: In a query, a table referenced by the select list is not named in the FROM clause.
Action: Check the spelling of the table names, make sure each column in the select list refers to a table in the FROM clause, then re-execute the query.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00208: identifier ‘string’ is not a legal cursor attribute

oracle

PLS-00208: identifier 'string' is not a legal cursor attribute
Cause: An identifier not declared as a cursor attribute was applied to an identifier declared as a cursor. For example, this error occurs if the cursor attribute is misspelled.
Action: Check the spelling of the cursor attribute name. Make sure the attribute is one of these: %NOTFOUND, %FOUND, %ROWCOUNT, %ISOPEN.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00207: identifier ‘string’, applied to implicit cursor SQL, is not a legal cursor attribute

oracle

PLS-00207: identifier 'string', applied to implicit cursor SQL, is not a legal cursor attribute
Cause: An identifier that is not a cursor attribute was applied to the identifier SQL. For example, this error occurs if the cursor attribute is misspelled.
Action: Check the spelling of the cursor attribute name. Make sure the attribute is one of these: %NOTFOUND, %FOUND, %ROWCOUNT, %ISOPEN.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00206: %TYPE must be applied to a variable, column, field or attribute, not to “string”

oracle

PLS-00206: %TYPE must be applied to a variable, column, field or attribute, not to "string"
Cause: The program object declared using the %TYPE datatype attribute is not of the appropriate class. It must be a variable, column, record component, subprogram formal parameter, or other object to which values can be assigned.
Action: Declare an object of the appropriate class or define the datatype in another way (for example, use %ROWTYPE).

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00205: Aggregate not allowed here

oracle

PLS-00205: Aggregate not allowed here
Cause: An aggregate, that is, a parenthesized list of values such as (7788, 'SCOTT', 20), was found in an inappropriate context.
Action: Remove or relocate the aggregate.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00204: function or pseudo-column ‘string’ may be used inside a SQL statement only

oracle

PLS-00204: function or pseudo-column 'string' may be used inside a SQL statement only
Cause: A pseudocolumn or proscribed function was used in a procedural statement. The SQL pseudocolumns (CURRVAL, LEVEL, NEXTVAL, ROWID, ROWNUM) can be used only in SQL statements. Likewise, certain functions such as DECODE, DUMP, and VSIZE and the SQL group functions (AVG, MIN, MAX, COUNT, SUM, STDDEV, VARIANCE) can be used only in SQL statements.
Action: Remove the pseudocolumn reference or function call from the procedural statement. Or, replace the procedural statement with a SELECT INTO statement; for example, replace: 

bonus := DECODE(rating, 1, 5000, 2, 2500, ...); 

with the following statement: 

SELECT DECODE(rating, 1, 5000, 2, 2500, ...) INTO bonus FROM dual;

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/