My Oracle Support Banner

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 and later
PL/SQL - Version and later
SQL*Plus - Version to [Release Oracle10g]
Information in this document applies to any platform.
This problem can occur on any platform.


Error while compiling PL/SQL code with sqlplus client 10.x or higher.

ORA-06550: line 4, column 9:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the
) , * & | = - + < / > at in is mod remainder not rem => ..
<an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
LIKE4_ LIKEC_ as between from using || multiset member

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


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.