Varigence, Inc.

Expand Minimize
Mist User Guide
Deploying Tables to SQL

When building and deploying a cube, newly created relational tables need to be deployed to a SQL database. A package, using SSIS ExecutePackage tasks, can accomplish this.

Begin by adding a package to the project. Refer to the first 4 steps in the Creating a Package topic to create a package and rename it to BuildSchema.

To deploy the tables to SQL:

  1. Find the Toolbox tool window. Drag and drop an ExecutePackage task onto the designer surface.
    Drag and Drop Execute Package
  2. In the Package Details tool window, choose the DimCustomer tab in the Table dropdown. Additionally, for clarity, rename this task to be DimCustomer.
    Package Details
  3. Repeat steps 1 and 2 for the following tables:
    When finished, the package editor should look as follows:
    Package Designer
  4. To create a precedence constraint, drag a line from the bottom anchor of the DimCustomer ExecutePackage task to the top anchor of the DimDate ExecutePackage task.
    Drag and Drop
    Start dragging from the bottom anchor of the DimCustomer task. While dragging, a blue line will follow the mouse cursor. Move the mouse cursor over the the DimCustomer task's top anchor and release.
    Precedence Constraint created
  5. Create edges so that the tasks are linked together as follows:
    Final Package
  6. Right click on the package and select Build & Run. This executes the tasks in the package, deploying the tables to the AdventureWorksLTDataMart database.
    Build and Run