3.1.4.2.2.1.3.8.1 Columns
The MDSCHEMA_LEVELS rowset contains the following columns.
Name |
Type |
Restriction |
Description |
---|---|---|---|
CATALOG_NAME |
xsd:string |
Yes |
The name of the database. |
SCHEMA_NAME |
xsd:string |
Yes |
The name of the schema.<231> |
CUBE_NAME |
xsd:string |
Yes |
The name of the cube. |
DIMENSION_UNIQUE_NAME |
xsd:string |
Yes |
The unique name of the dimension.<232> |
HIERARCHY_UNIQUE_NAME |
xsd:string |
Yes |
The unique name of the hierarchy. |
LEVEL_NAME |
xsd:string |
Yes |
The name of the level. |
LEVEL_UNIQUE_NAME |
xsd:string |
Yes |
The unique name of the level. |
LEVEL_GUID |
uuid |
|
The GUID of the level. |
LEVEL_CAPTION |
xsd:string |
|
The caption of the hierarchy.<233> |
LEVEL_NUMBER |
xsd:unsignedInt |
|
The level number in the hierarchy. Top level is zero (0). |
LEVEL_CARDINALITY |
xsd:unsignedInt |
|
The number of members in the level. |
LEVEL_TYPE |
xsd:int |
|
The type of the level from a list of possible values.
|
DESCRIPTION |
xsd:string |
|
A description of the level. |
CUSTOM_ROLLUP_SETTINGS |
xsd:int |
|
A bitmask that specifies the custom rollup options:
|
LEVEL_UNIQUE_SETTINGS |
xsd:int |
|
A bitmask that specifies which columns contain unique values, if the level only has members with unique names or keys:
|
LEVEL_IS_VISIBLE |
xsd:boolean |
|
When true, indicates that the level is visible; otherwise false. |
LEVEL_ORDERING_PROPERTY |
xsd:string |
|
The name of the attribute on which the level is sorted. |
LEVEL_DBTYPE |
xsd:int |
|
The type of the member key column that is used for the level attribute. It MUST be null if concatenated keys are used as the member key column. Type values are described in the following list:
|
LEVEL_MASTER_UNIQUE_NAME |
xsd:string |
|
The unique name of the master level. |
LEVEL_NAME_SQL_COLUMN_NAME |
xsd:string |
|
The SQL column name for the level name. |
LEVEL_KEY_SQL_COLUMN_NAME |
xsd:string |
|
The SQL column name for the level key. |
LEVEL_UNIQUE_NAME_SQL_COLUMN_NAME |
xsd:string |
|
The SQL column name for the level unique name. |
LEVEL_ATTRIBUTE_HIERARCHY_NAME |
xsd:string |
|
The name of the attribute hierarchy that provides the source of the level. |
LEVEL_KEY_CARDINALITY |
xsd:unsignedShort |
|
The number of columns in the level key. |
LEVEL_ORIGIN |
xsd:unsignedShort |
Yes |
A bitmask that defines how the level was sourced:
|
The response has the following definition.
-
<xsd:element name="root"> <xsd:complexType> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:element name="row" type="row" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:simpleType name="uuid"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}- [0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}" /> </xsd:restriction> </xsd:simpleType> <xsd:complexType name="row"> <xsd:sequence> <xsd:element sql:field="CATALOG_NAME" name="CATALOG_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="SCHEMA_NAME" name="SCHEMA_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="CUBE_NAME" name="CUBE_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="DIMENSION_UNIQUE_NAME" name="DIMENSION_UNIQUE_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="HIERARCHY_UNIQUE_NAME" name="HIERARCHY_UNIQUE_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_NAME" name="LEVEL_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_UNIQUE_NAME" name="LEVEL_UNIQUE_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_GUID" name="LEVEL_GUID" type="uuid" minOccurs="0" /> <xsd:element sql:field="LEVEL_CAPTION" name="LEVEL_CAPTION" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_NUMBER" name="LEVEL_NUMBER" type="xsd:unsignedInt" minOccurs="0" /> <xsd:element sql:field="LEVEL_CARDINALITY" name="LEVEL_CARDINALITY" type="xsd:unsignedInt" minOccurs="0" /> <xsd:element sql:field="LEVEL_TYPE" name="LEVEL_TYPE" type="xsd:int" minOccurs="0" /> <xsd:element sql:field="DESCRIPTION" name="DESCRIPTION" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="CUSTOM_ROLLUP_SETTINGS" name="CUSTOM_ROLLUP_SETTINGS" type="xsd:int" minOccurs="0" /> <xsd:element sql:field="LEVEL_UNIQUE_SETTINGS" name="LEVEL_UNIQUE_SETTINGS" type="xsd:int" minOccurs="0" /> <xsd:element sql:field="LEVEL_IS_VISIBLE" name="LEVEL_IS_VISIBLE" type="xsd:boolean" minOccurs="0" /> <xsd:element sql:field="LEVEL_ORDERING_PROPERTY" name="LEVEL_ORDERING_PROPERTY" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_DBTYPE" name="LEVEL_DBTYPE" type="xsd:int" minOccurs="0" /> <xsd:element sql:field="LEVEL_MASTER_UNIQUE_NAME" name="LEVEL_MASTER_UNIQUE_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_NAME_SQL_COLUMN_NAME" name="LEVEL_NAME_SQL_COLUMN_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_KEY_SQL_COLUMN_NAME" name="LEVEL_KEY_SQL_COLUMN_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_UNIQUE_NAME_SQL_COLUMN_NAME" name="LEVEL_UNIQUE_NAME_SQL_COLUMN_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_ATTRIBUTE_HIERARCHY_NAME" name="LEVEL_ATTRIBUTE_HIERARCHY_NAME" type="xsd:string" minOccurs="0" /> <xsd:element sql:field="LEVEL_KEY_CARDINALITY" name="LEVEL_KEY_CARDINALITY" type="xsd:unsignedShort" minOccurs="0" /> <xsd:element sql:field="LEVEL_ORIGIN" name="LEVEL_ORIGIN" type="xsd:unsignedShort" minOccurs="0" /> </xsd:sequence> </xsd:complexType>