Hi
I have one pre existing package which has source which exec a sp with parameters and dump that into excel file at a location now it is something like this,
exec [dbo].[sp_name] @planlist = '1,5,20'
so this is what we have in a source, and working great now the problem is we got some more plan ids like 4,27,28 and i have to built in one package only so it should be like loop like,
[dbo].[BHS_UP_PROVIDER_METRICS_PLAN_NETWORK] @planlist = '1,5,20' ---- takes this and load in one excel with given name goes for a loop and [dbo].[BHS_UP_PROVIDER_METRICS_PLAN_NETWORK] @planlist = '4' ---- takes this and load in one excel with given name then [dbo].[BHS_UP_PROVIDER_METRICS_PLAN_NETWORK] @planlist = '27' ---- takes this and load in one excel with given name then [dbo].[BHS_UP_PROVIDER_METRICS_PLAN_NETWORK] @planlist = '28' ---- takes this and load in one excel with given name and so on
now as you see planid could be single value or multiple...how to take care of this in a single package?
ANK HIT - if reply helps, please mark it as ANSWER or helpful post