Double Slash (Comment) (DMX)

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

Indicates a text string that Analysis Services should not execute. You can nest comments within a Data Mining Extensions (DMX) statement, include them at the end of a line of code, or insert them on a separate line.


// Comment_Text   


The string that contains the text of the comment.


Use // for single-line comments only. Comments that are inserted by using // are delimited by the newline character.

There is no maximum length for comments.

For more information about how to use different kinds of comments in DMX, see Comments (DMX).

See Also

Slash Star (Comment) (DMX)
-- (Comment) (DMX) Summary
Data Mining Extensions (DMX) Operator Reference
Operators (DMX)