Previous Topic: Lexical RulesNext Topic: Procedure Definition Language Statements


Comments

A comment is a character string that serves as documentation in a program. Comments are not executable. Any line in embedded SQL can contain a comment. The format of a comment is as follows:

-- text of comment

-- (double hyphens) Treats all characters to the right as a comment.

A line that begins with a double hyphen (--) is treated as a comment. Because the comment ends at the end of the line, no special character is required to terminate the comment.