Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

No Available External Columns

$
0
0

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 INT
DECLARE @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.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>