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.

    Note

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

 Examples