Comments (MDX)
This section discusses comments in InterSystems MDX queries and in stand-alone MDX expressions used within model definitions.
Comments
You can include a comment of the following form in any MDX query or expression, at any place where white space is acceptable.
/* comment here */
You can include comments of the following forms as separate lines within an MDX query or expression.
-- comment
Or:
// comment
You can also use the preceding two forms at the end of a line that contains MDX.
Examples
The following examples show valid MDX queries:
select /* change this later */ birthd.decade.members on 1
from patients
--comment
select birthd.decade.members on 1 --comment
from patients // comment
//another comment