문제

I use sql server 2008 r2.

I use SSAS service and i have one database that named GAC.

in my database exist 10 cube and in each cube exist several measures and dimensions

I need get all cubes, measure and dimensions with one select.

how can I do this?

in other hands, i need access to data definitions table or structure like sys.tables and sys.columns and sys.type and etc.

i need one select that it can query all data from SSAS database.

도움이 되었습니까?

해결책

Use MDSCHEMA_DIMENSIONS schema request without restricting cube or dimension.

다른 팁

i finded this :

select 
    cube_name,
    measuregroup_name,
    measure_name,
    expression
from $system.dbschema_measures
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top