Category Archives: PLS Database Error Messages

PLS-00118: Duplicate group-by clause in table expression

oracle

PLS-00118: Duplicate group-by clause in table expression
Cause: Two or more GROUP BY clauses were found in a SELECT statement. The GROUP BY clause lists column expressions used to form a summary row for each group of selected rows. The list can contain several column expressions separated by commas, but a statement can contain only one GROUP BY clause.
Action: Remove one of the GROUP BY clauses and, if necessary, separate column expressions by commas.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00117: Duplicate connect-by clause in table expression

oracle

PLS-00117: Duplicate connect-by clause in table expression
Cause: Two or more CONNECT BY clauses were found in a SELECT statement. The CONNECT BY clause defines a relationship used to return rows in a hierarchical order. The relationship can contain two expressions separated by a relational operator (such as = or !=), but a statement can contain only one CONNECT BY clause.
Action: Remove one of the CONNECT BY clauses and, if necessary, separate expressions by a relational operator.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00116: Duplicate where-clause in table expression

oracle

PLS-00116: Duplicate where-clause in table expression
Cause: Two or more WHERE clauses were found in a DELETE, SELECT, or UPDATE statement. The WHERE clause specifies a condition under which rows in a table are processed. The condition can contain several logical expressions connected by AND or OR, but a statement can contain only one WHERE clause.
Action: Remove one of the WHERE clauses and, if necessary, connect logical expressions by AND or OR.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00115: this PRAGMA must follow the declaration of ‘string’

oracle

PLS-00115: this PRAGMA must follow the declaration of 'string'
Cause: The pragma refers to a PL/SQL object that was not declared or is not within the scope of the reference. Identifiers must be declared before they are used in a pragma; forward references are not allowed.
Action: Check the spelling and declaration of the identifier. Also confirm that the declaration is placed correctly in the block structure.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00114: identifier ‘string’ too long

oracle

PLS-00114: identifier 'string' too long
Cause: The name of a PL/SQL variable is longer than 30 characters. Legal identifiers (including quoted identifiers) have a maximum length of 30 characters. A string literal might have been mistakenly enclosed in double quotes instead of single quotes, in which case PL/SQL considers it a quoted identifier.
Action: Shorten the identifier.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00113: END identifier ‘string’ must match ‘string’ at line string, column string

oracle

PLS-00113: END identifier 'string' must match 'string' at line string, column string
Cause: Following the keyword END, which terminates some language constructs (such as loops, blocks, functions, and procedures), you can optionally place the name of that construct. For example, at the end of the definition of loop L you might write END L. This error occurs when the optional name does not match the name given to the language construct. It is usually caused by a misspelled identifier or by faulty block structure.
Action: Make sure the spelling of the END identifier matches the name given to the language construct and that the block structure is correct.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00112: end-of-line in quoted identifier

oracle

PLS-00112: end-of-line in quoted identifier
Cause: A quoted identifier had a beginning quote ("), but before the ending quote (") was found, an end-of-line marker was encountered.
Action: Remove the beginning quote or add the ending quote. The line and column numbers accompanying the error message refer to the beginning of the quoted identifier.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00111: end-of-file in comment

oracle

PLS-00111: end-of-file in comment
Cause: A Comment had a comment initiator (/*), but before the Comment terminator (*/) was found, an end-of-file marker was encountered.
Action: Remove the Comment initiator or add a comment terminator. The line and column numbers accompanying the error message refer to the beginning of the last legal token before the Comment initiator.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00110: bind variable ‘string’ not allowed in this context

oracle

PLS-00110: bind variable 'string' not allowed in this context
Cause: A bind variable, that is, an identifier prefixed with a colon, was found in an inappropriate context.
Action: Remove the colon or replace the bind variable with the appropriate object.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/

PLS-00109: unknown exception name ‘string’ in PRAGMA EXCEPTION_INIT

oracle

PLS-00109: unknown exception name 'string' in PRAGMA EXCEPTION_INIT
Cause: No declaration for the exception name referenced in an EXCEPTION_INIT pragma was found within the scope of the pragma.
Action: Make sure the pragma follows the exception declaration and is within the same scope.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/