[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1152
  • Last Modified:

how to schedule XMLA Script from SSIS to process a SSAS cube using SQL SERVER

Hi,
 
I want a cube process in SSIS package using XMLA script.

Is it possible? If it is yes, how I can do.




<Batch xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

  <Parallel>

    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">

      <Object>

        <DatabaseID>CRM_Cube</DatabaseID>

      </Object>

      <Type>ProcessFull</Type>

      <WriteBackTableCreation>UseExisting</WriteBackTableCreation>

    </Process>

  </Parallel>

</Batch>


Best Regards
0
DavidInLove
Asked:
DavidInLove
1 Solution
 
ValentinoVBI ConsultantCommented:
Hi David,

It should be possible through the Analysis Services Execute DDL Task in the Control Flow.

See: Analysis Services Execute DDL Task

Another option to process a cube is by using the Analysis Services Processing Task (for this one you don't even need an XMLA script), choice is up to you.

See: Analysis Services Processing Task

Take care,
V.
0
 
DavidInLoveAuthor Commented:
Thanks V!!  Best Regards David
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now