Hello,
I am trying to learn BIML and understand "practical scenarios" where it can be used.
Based on what I researched (A scenario explained in a blog\video):
It can be used to generate multiple "similar" packages without having to design each package or task separately.
Example: You have a two task package Task 1: Truncate table
Task 2: Dataflow task to copy the table data
Now, if this package has to be created multiple times for different tables, you will have to design those tasks separately but with BIML, you can code this to dynamically generate the SSIS packages.
So, this seems to be a valid reason, however, I have few questions:
Question 1: I think the same can be done using Data Import\Export wizard. So, I am not sure the additional advantage you have with BIML in this scenario. Sure, if there are other workflow tasks that needs to be done, BIML might be between solution. any thoughts on this?
Question 2: I do not think I design same package with different tables on everyday basis(I do not remember doing it),so, I do not think I would encounter the above scenario to practically make use of BIML. Do you guys encounter doing this frequently?
Question 3: Are there any other practical scenarios where we can use BIML and BIML provides additional advantage over SSIS.
Looking for you ideas on where using BIML compared to BI\SSDT is better.
Hope it Helps!!