My Oracle Support Banner

SQL*Plus error 'PLS-00103: Encountered the symbol "-"' for Using ANSI Style Single Line(double hypen) Comment in a Procedure (Doc ID 3055425.1)

Last updated on MARCH 04, 2025

Applies to:

SQL*Plus - Version 19.19 and later
Information in this document applies to any platform.

Symptoms

Using SQL*Plus to create a procedure with empty ANSI style single line comment without comment text results in the below error:

Changes

 Creating a procedure with ANSI style single line comment.

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
Changes
Cause
Solution


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