Hi Experts,
I have the below Stored Procedure that I use to pull the data from the remote server instance.
The requirement is to load data and check for changes for the last 2 Weeks records on a daily basis.
Can anyone please suggest how can I get the code to pick the dates from parameters or a solution in SSIS that lets pick the last two weeks period and run the package everyday.
declare @return_valueintexec@return_value=[ServerInstance].DataBase.User.sp_StoredProcedure@UserName= N'UserName',@Password= N'Password',@DateStart='2015-08-01',@DateEnd='2015-08-10'select'Return Value'=@return_value
Thanks in advance.