Hi Experts,
I have a stored procedure that I used to extract data using SQL Server 2005.
This stored procedure is ran on SQL SERver 2005 that has a linked server, the actual source from where data is extracted from.
DECLARE @return_value INTDECLARE @sDate as DATETIME
DECLARE @DateStart as DATETIME
--SET @sDate = replace(convert(VARCHAR(10),DATEADD(dd, -30, getdate()),111), '/', '-')
SET @sDate = CONVERT(date, DATEADD(dd, -30, getdate()))
DECLARE @eDate as DATETIME
SET @eDate = DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE())) --GetDate()
exec @return_value = [WORLDS02].TransferofMoney.dbo.sp_TransactionDetail
@UserName = N'AUser',
@Password= N'auser!1234',
@DateStart= @sDate ,
@DateEnd = @eDate
I created a SSIS package and the extraction ran well until recently our SQL SERVER 2005 has crashed and we moved to SQL SERVER 2012.
When I use the same above stored procedure and run on SQL SERver it shows the results without any error.
However, the SSIS package now shows errors and I do not see any External columns on the OLE DB source object.
Can you please help resolve this issue.