Hi All,
I have created a ssis package ,Which is internally calling a stored procedure with single input parameter(Interval).My stored procedure logic will execute data for every 6 months of every execution of package and dumped into .csv file. For Example,If the Interval is 1 then it takes the startdate as 2010-07-01 and enddate as 2010-12-31 ,similarly If the Interval is 2 then it takes the startdate as 2011-01-01 and enddate as 2011-06-30 ......etc . My question is How can i pass Interval as 1,2,3,4(for two Years data) to the stored procedure through ssis? I am able to pass 1 value to the interval variable and it has created .csv file with 6 months data but next time i am unable to pass 2 value to the interval,similarly 3,4.
Please anybody suggest me on this ?
Thanks ,
Visu
I have created a ssis package ,Which is internally calling a stored procedure with single input parameter(Interval).My stored procedure logic will execute data for every 6 months of every execution of package and dumped into .csv file. For Example,If the Interval is 1 then it takes the startdate as 2010-07-01 and enddate as 2010-12-31 ,similarly If the Interval is 2 then it takes the startdate as 2011-01-01 and enddate as 2011-06-30 ......etc . My question is How can i pass Interval as 1,2,3,4(for two Years data) to the stored procedure through ssis? I am able to pass 1 value to the interval variable and it has created .csv file with 6 months data but next time i am unable to pass 2 value to the interval,similarly 3,4.
Please anybody suggest me on this ?
Thanks ,
Visu