Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » UltraLite - Database Management and Reference » UltraLite SQL reference » UltraLite SQL elements


Comments in UltraLite

Comments are used to attach explanatory text to SQL statements or statement blocks. The UltraLite runtime does not execute comments.

The following comment indicators are available in UltraLite:

  • -- (Double hyphen)   The database server ignores any remaining characters on the line. This indicator is the SQL/2003 comment indicator.

  • // (Double slash)   The double slash has the same meaning as the double hyphen.

  • /* ... */ (Slash-asterisk)   Any characters between the two comment markers are ignored. The two comment markers may be on the same or different lines. Comments indicated in this style can be nested. This style of commenting is also called C-style comments.


    The percent sign (%) is not supported in UltraLite.