我想从 MDSCHEMA_LEVELS 获取某些维度的所有级别。
是否可以为 AdomdRestrictionCollection 中的限制列设置多个值?或者我应该分别为每个维度运行查询吗?
我想从 MDSCHEMA_LEVELS 获取某些维度的所有级别。
是否可以为 AdomdRestrictionCollection 中的限制列设置多个值?或者我应该分别为每个维度运行查询吗?
As far as I am aware, one restriction (i. e. cube, level, ...) can only be used once in the restrictions. But you can omit a restriction completely, of course, i. e. not restricting on level to get all levels, or not restricting on dimensions to get data for all dimensions. It would then be decision to balance the effort of running many separate queries, or getting a few records you will ignore.