Multi-Line or Single Line Comment without a Leading Space /* ... */ is Interpreted as a Rerun Instead of a Comment
(Doc ID 225924.1)
Last updated on FEBRUARY 22, 2019
Applies to:SQL*Plus - Version 10.1.0.2 and later
Information in this document applies to any platform.
*** Checked for relevance on Feb-22-2019 ****
In SQL*Plus, using a Comment without a leading space after the "/*" causes it to execute instead of recognizing it as a Comment.
Do a select statement like:
Here the above comment is ignored and the "/" is interpreted as "Run". As a result, the 'Select * from emp' statement is re-run.
Using comments in SQL*Plus.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!