Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Process Dimensions Dynamically with SSIS

$
0
0
Hello,Wasn't sure if I should post here or under SSIS or Data Tools, but I'll start here. I'm setting up an SSIS package to reprocess cube dimensions dynamically using the following query:[code="plain"]select DIMENSION_MASTER_NAMEfrom $SYSTEM.MDSCHEMA_DIMENSIONS WHERE [DIMENSION_UNIQUE_NAME] <> '[Measures]'AND CUBE_NAME = 'Aging'[/code]My intention is to take the result set and put it into an object variable and then loop through the object in a ForEach loop. I'm running into an issue in the SSIS Execute SQL Task which is resulting in the following error:SSIS Debug Host has stopped workingThe details are:Problem signature: Problem Event Name: APPCRASH Application Name: DtsDebugHost.exe Application Version: 2014.120.2000.8 Application Timestamp: 5306c843 Fault Module Name: StackHash_c97b Fault Module Version: 6.3.9600.17736 Fault Module Timestamp: 550f42c2 Exception Code: c0000374 What I have found is that the query works fine, until I try to put the query results into the object variable. I am able to put a result set from a database query into the object variable. This seems to be related to using the OLE DB Provider for Analysis Services 12.0 and putting the results into the object variable.Has anybody bumped into this issue? If so, please share. I've "heard tell" that this dynamic processing of dimenstions is possible, but I don't have a concrete example of how to make this work in the Execute SQL Task.Thanks!

Viewing all articles
Browse latest Browse all 1341

Trending Articles