Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NewLineCharacter of SQL comment in Windows and Unix

Aketi JyuuzouNov 8 2011 — edited Nov 14 2011
In SQL,There are 2 comment syntax.

1 is --
The other is /* */

ex
--This is comment
/* This is comment */
But In Windows,NewLineCharacter is CrLf.
In Unix,NewLineCharacter is LF.

My question is When I Create SQL file in Windows And Run It in Unix,
whether I must not use -- comment or not.
This post has been answered by riedelme on Nov 8 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2011
Added on Nov 8 2011
4 comments
502 views