602SQL Documentation Index  

Comments (SQL)

Comments in SQL may be entered in two ways. Each comment either begins with the opening double character and ends on the end of the line, or begins with the opening comment brace and ends with the closing comment brace.

The opening double character is either a double hyphen -- or a double slash //.

The couple of opening and closing comment braces may either be /* and */ or { and }.

The notations that begin with the { character have a specific meaning in ODBC (co-called ODBC Escape Sequences). It is therefore recommended to avoid these characters in comments. The notations { call ... }, { fn ... }, { oj ... }, { t ... }, { d ... }, { ts ... } are not a comment!

602SQL variances