Comments

Restriction: This topic applies to Windows environments only.

The XDB Server receives and processes SQL commands as continuous, nondelimited strings. Comments can be included anywhere in an SQL command, provided they are bracketed by the characters /* and */. The XDB Server ignores all characters enclosed between these special characters. For example, the following command statement has the comment string "info on parts & suppliers" attached:

SELECT *
    FROM partsupp /* info on parts & suppliers */

An alternative means of entering comments is provided in SQLWizard, where users may place comments at the end of a statement line, separating them from the statement text by a double hyphen (--). Anything on the line after the double hyphen is ignored by the system.