How to query list of hierarchies - sqlserver-olap
This is a discussion on How to query list of hierarchies - sqlserver-olap ; I want to query SSAS2005 to return a list of hierarchies for a given dimension. Is there an MDX or XMLA statment to do this for me? -- JimL...
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| Is there an MDX or XMLA statment to do this for me? -- JimL |
|
#2
| |||
| |||
|
You can use XMLA to return an MDSCHEMA_HIERARCHIES Rowset: http://msdn.microsoft.com/en-us/library/ms126062.aspx >> SQL Server 2008 Books Online (October 2008) MDSCHEMA_HIERARCHIES Rowset Describes each hierarchy within a particular dimension. ... >> For example, this Discover query returns all 5 user-defined hierarchies of the Adventure Works Product dimension: - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
All times are GMT -4. The time now is 01:03 PM.




Linear Mode