MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 25: MDX Grammar
This chapter contains the syntax for expressions and formulas and the syntax for the MDX statements that OLE DB for OLAP uses to specify a dataset. The grammar is divided into several subclauses, each of which contains the Backus-Normal Form (BNF) for a set of syntax elements. For specific information about MDX statements, see "Advanced MDX" in Chapter 24, "Multidimensional Expressions." The parts of an MDX statement are described in "Parts of an MDX Statement," also in Chapter 24.
The complete construct of the MDX statement and the leveling rules for the statement are presented in "MDX Statement Construction," in this chapter.
At the end of each subclause is a section called "Leveling Rules." This section enumerates the optional productions. An OLE DB for OLAP–compliant provider must support all productions other than the productions mentioned in these rules.