- Help automate the process over a large number of deployments with SSIS.
This blog gives a detailed description about the developments done by M&N BI. Contact number:+91-8802466356. email:support@mndatasolutions.com;support@turbodatatool.com. Contact for a demo[Tally automation]:https://www.turbodatatool.com/sales-register-module?utm_source=blogspot&utm_medium=blog&utm_campaign=description. Datawarehouse development:https://www.turbodatatool.com/sales-register-module?utm_source=blogspot&utm_medium=blog&utm_campaign=description
Visit the new site
Monday, 3 June 2024
Lookup Transform
Attached blog indicates how one can convert multiple join used for ssis lookup transform loading the Data warehouse into SSIS code.
The input sql code was converted to cte (or common table expressions). These common table expressions formed the procedure that needed to be converted into SSIS jobs.
Understand the joins between the tables and the required columns for developing the required dataflow.
· Develop the code in SSIS for various join and using SSIS transforms as below:
In this portion join with Dim_Supplier table get the relevant input:-
SSIS input:-in this portion using the sort transform on Dim_supplier table and above merge join
SSIS input :- In this portion use the merge join transform based upon the partyledger name and supplier name.
In this portion of code is used for the get the unique voucher type name from stg_voucher_ type table.
For following condition : voucher type would be sales,purchase,journal(the specific voucher types have been extracted using conditional split)
Ssis input:-in this portion use the stg_voucher_type table and aaply on sort transform on this table get the unique voucher type name conditional split transform and apply the above condition. The final sort was used to remove any duplicates that could arise.
SSIS:-Finally applying the SSIS Lookup transform and combinebelow column one is available input columns
And available lookup table based on the composite key and surrogate keys.
The ETL team used the Full cache option to minimize the number of times the database shall be accessed. All the lookup values should be in the lookup cache .
The ETL team used the OLEDB connection manager since the lookup was been done from a local machine.
In case of no mtach the ETL team assumed a case of insert and hence the option of ‘Redirect rows to no match output’ was chosen.
The ETL team has assummed that there are no exceptions to be handled.
In case of ‘no match’ the output was put into another table(that is a copy of item supplier order as below:
The ‘execute sql task’ enables insertion of the non-matched rows into the target table of item supplier order.
Subscribe to:
Post Comments (Atom)
Featured Posts
What a Failed Sales Job in 2001 Taught Me About Building Business Software
What a Failed Sales Job in 2001 Taught Me About Building Business Software I build TurboData, a reporting and analytics layer for busine...
Our Most Popular Post
-
Purpose of Turbodata analytics Module Contact details: Apoorv Chaturvedi email: support@turbodatatool.com;support@mndatasolutions.com p...
-
The end client desired to have a set of reports for a large number of end users with the following features: Web access ...
-
Problem statement: a number of customers still have cash flow issues after taking the following actions: a.) Usage of Tally b.) Usage of th...

















No comments:
Post a Comment