/* */ Comment on sql-script

ed10k

Member²
My sql-script is:
You must enter a space after the slash-asterisk(/*) beginning a comment, otherwise
the comment is treated as a command, and the slash is interpreted as an execute
command, executing any command in the SQL*Plus buffer.
 
If you insert a space after /*

Code:
/* PROMPT Now
select sysdate from dual
;
*/
then the syntax error at sqlplus goes away.
I don't known the best solution of this.
Perhaps you schould always insert a space after /*.
Comment on this from members of this forum are welcome.
 
Back
Top