My Oracle Support Banner

SQL*Plus Script With Multiline Comment (/* */) Is Not Working (Doc ID 2810074.1)

Last updated on MAY 30, 2023

Applies to:

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

Symptoms


SQL*Plus script containing multiline comment fails to execute.


Error
-------
SP2-0734: unknown command beginning "##########..." - rest of line ignored.
SP2-0734: unknown command beginning "Function ..." - rest of line ignored.
SP2-0734: unknown command beginning "Descriptio..." - rest of line ignored.
SP2-0734: unknown command beginning "active dat..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning "##########..." - rest of line ignored.

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
References


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