SSIS, SSAS & Stored Procedure

In the following series SSIS would be utilized to extract data from Stored Procedure which contain query that is linked with SSAS MDX query via linked Server. Talend requires additional components while SSIS has fewer components but the output is the same.

First process in extracting the query through SSAS via Linked Server is to create a linked server.

Linked Server

Second process is to create the stored procedure to extract the data.

Stored Procedure definition with the MDX and regular SQL qeury


Third process is to create an SSIS package. In the Control Flow component you need  two task which the Execute SQL Task and Data Flow task. 


The fourth step is to create the database connection to the source and destination systems. In this case only one database system is being utilized.



Another big difference between SSIS and Talend is that Talend  works well with JDBC but JDBC is allowed in SSIS rather .NET, OLED, ODBC etc which makes the connection easier to implement since the Java version may not work well with selected JDBC.




This will truncate the table using the SQL Statement issued. In Talend you can specify truncate at the table definition.


t



The sixth process is the stored procedure linkage. A variable has to be created to retrieve the user input and pass it along the stored procedure parameter defined in the stored procedure definition

 The last process is to push the data to the destination system. A different connection may be required. Verify the column matching. Now run the package.

Before the execution









Results



Comments

  1. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing on Msbi online training
    Msbi online training Hyderabad
    Msbi online training India

    ReplyDelete

Post a Comment

Popular posts from this blog

ETL ( Automation vs Manual )

Data Migration