Error while Compiling PL/SQL Code having Division Operator '/'.
(Doc ID 742783.1)
Last updated on MAY 27, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 and laterPL/SQL - Version 10.1.0.2 and later
SQL*Plus - Version 10.1.0.4 to 10.2.0.1 [Release Oracle10g]
Information in this document applies to any platform.
This problem can occur on any platform.
Symptoms
Error while compiling PL/SQL code with sqlplus client 10.x or higher.
Error:
ORA-06550: line 4, column 9:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the
following:
) , * & | = - + < / > at in is mod remainder not rem => ..
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ as between from using || multiset member
SUBMULTISET_
This is seen when Division operator '/' is used in PL/SQL code
Code contains '/' as part of Round function to carry out the mathematical operation.
Code compiles correctly with SQL*Plus: Release 9.2.0.1.0
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |