Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous section

Comments

This section discusses comments in DeepSee 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
Copy code to clipboard
--comment
select birthd.decade.members on 1 --comment
from patients // comment
//another comment
Copy code to clipboard