skip to main content
Part 3: The 32-Bit Drivers : The XML Driver : SQL Support : Grammar Token Definitions : SQL Comments
  
SQL Comments
ANSI SQL-92 standard comments (--) and C++ standard comments (/*...*/, //) are supported. Comments can be nested.
For example, in the following query columns col2, col3, and col4 are ignored:
SELECT col1  /* col1 comment */
/*
    col2,-- col2 comment
    col3,// col3 comment
    col4,/* col4 comment */
*/
FROM t1