Comments in SQL
Comments are primarily used to facilitate the clarity and maintainability of SQL scripts. They can be added at the discretion of the user anywhere in the SQL script.
Comments in Exasol can be of two types:
- Line comments begin with the characters “--” (two hyphens), indicating that the remaining part of the current line is a comment.
- Block comments are delimited by the characters “/*” and “*/”, and can span across several lines. All the characters between the delimiters are ignored.