Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
| OLE DB Programmer's Reference |
Consider the following MDX statement:
SELECT {Measures.Cost, Measures.Sales} DIMENSION PROPERTIES MEMBER_CAPTION ON COLUMNS, CROSSJOIN({Venkatrao, Netz}, Products.MEMBERS) DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME, SalesRep.[Phone Number], Products.SKU ON ROWS FROM Sales WHERE ([1991], Qtr1, USA)
This statement results in the following flattened rowset:
It is important to note the following:
- It is assumed that the Products dimension has only one level.
- All names that are made of multiple componentsthat is, all column names and column values for the UNIQUE_NAME columnsare component-delimited. (Each component is delimited.)
- Although the CAPTION property was asked for on the COLUMNS axis, it was ignored, and column names consist of UNIQUE_NAME values.
- For an explanation of the NULL values in the first row, see "Appearance of NULLs in a Flattened Rowset."
1998-2001 Microsoft Corporation. All rights reserved.