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

Error at Data Flow Task: No column information was returned by the SQL command

$
0
0

I am attempting to create SSIS package which will create a CSV file as a destination file.

As far as SQL code is concerned, everything works well in SSMS.  But when I am trying to use the same SQL code in SSIS package, I received the error:  Error at Data Flow [OLE DB Source[1]]: No column information was returned by the SQL command.

I executed Stored Procedure to populate my variable table @pipeline.

Thank you in advance for your expertise.

My SSIS package used the following OLE DB connection manager:

OLE DB connection Manager:
Myserver.Mydatabase

Data Access Mode:
SQL command

SQL command text:

DECLARE @BeginDate DATETIME, @EndDate DATETIME, @Branch VARCHAR(MAX), @Status VARCHAR(MAX) SET @BeginDate = '06/01/2017' SET @EndDate = '08/01/2018' SET @Status = '**ALL**' SET @branch = ('Apopka' + ',' + 'Call Center' + ',' + 'Clermont' + ',' + 'Contact Center' + ',' + 'East Orlando' + ',' + 'Fern Park' + ',' + 'Forest City' + ',' + 'Internet' + ',' + 'Kissimmee' + ',' + 'Lake Mary' + ',' + 'Lake Nona' + ',' + 'Leesburg' + ',' + 'Longwood' + ',' + 'Metro West' + ',' + 'Mills' + ',' + 'Operations' + ',' + 'Orange City' + ',' + 'Oviedo' + ',' + 'Pine Hills' + ',' + 'Real Estate Department' + ',' + 'Sanford' + ',' + 'South Orlando' + ',' + 'St. Cloud' + ',' + 'UCF' + ',' + 'Weber' + ',' + 'Winter Garden' + ',' ) DECLARE @pipeline table (loanGeneral_Id NVARCHAR(100) ,ApplicationDate datetime ,ApplicationDay NVARCHAR(112) ,ApplicationDateWithoutTime DATETIME ,AppMonYYYY NVARCHAR(112) ,AppMon NVARCHAR (112) ,AppMonNumber NVARCHAR (110) ,AppYYYYMM NVARCHAR(112) ,LO_IntroductionCall DATETIME ,LToConvLog NVARCHAR (MAX) ,DaysFromAppSubToLOIntroductionCall NVARCHAR (110) ,DateKitSent DATETIME ,DaysFromAppSubToMortKitSent NVARCHAR (110) ,DateGivenToProdCoordinator DATETIME ,DaysWithProductionCoordinator NVARCHAR (110) ,DateApprisalReceived DATETIME ,DateMTGKitReceived DATETIME ,DaysFromMortKitReceivedToAppraisalReceived NVARCHAR (110) ,DateToUW DATETIME ,DaysFromAppraisalReceivedToSubmittedToUW NVARCHAR (110) ,DaysWithUnderwritter NVARCHAR (110) ,DateClosingInstructionSent DATETIME ,DaysApprovedToClosingInstructionsSent NVARCHAR (110) ,DaysWithProcessor NVARCHAR (110) ,DaysWithCloser NVARCHAR (110) ,NumOfLoan NVARCHAR (110) ,NumberofLoan NVARCHAR (110) ,RELoanOfficer NVARCHAR (MAX) ,MemberName NVARCHAR(MAX) ,Branch NVARCHAR (200) ,OriginatingBranch NVARCHAR (200) ,AccountNumber NVARCHAR (200) ,OriginatingMSR NVARCHAR (MAX) ,Processor NVARCHAR (MAX) ,DateToProcessor DATETIME ,Issues NVARCHAR(MAX) ,Just_Value FLOAT ,LEDeadlineWithoutPlus3 DATETIME ,LEDeadline DATETIME ,LoanSuffix NVARCHAR(112) ,Term NVARCHAR (110) ,TermInYears NVARCHAR (110) ,LienPostion NVARCHAR(112) ,LoanPurposeType NVARCHAR(150) ,LoanProgram NVARCHAR(150) ,GSERefinancePurposeType NVARCHAR(MAX) ,_Type NVARCHAR (150) ,ProductCode NVARCHAR(150) ,Purpose NVARCHAR(150) ,SecondMortgageAmount FLOAT ,SecondMortgageCount NVARCHAR (110) ,RefiCashAmount FLOAT ,RefiCashCount NVARCHAR (110) ,HELOCAmount FLOAT ,HELOCCount NVARCHAR (110) ,FastTrackAmount FLOAT ,FastTrackCount FLOAT ,PurchaseAmount FLOAT ,PurchaseCount NVARCHAR (110) ,PreApprovalAmount FLOAT ,PreApprovalCount NVARCHAR (110) ,RefiBalanceAmount FLOAT ,RefiBalanceCount NVARCHAR (110) ,CreditScore NVARCHAR (110) ,CreditScoreYTDReport NVARCHAR (110) ,Incentive NVARCHAR (200) ,MortgageAmount FLOAT ,PropertyEstimatedValueAmount FLOAT ,PropertyAppraisedValueAmount FLOAT ,UnpaidBalanceAmount FLOAT ,EmployeeOrNonEmployee NVARCHAR(MAX) ,PropertyValue FLOAT ,LTV FLOAT ,TitleCompany NVARCHAR(MAX) ,PMICompany NVARCHAR (MAX) ,LockedRate FLOAT ,Points NVARCHAR (110) ,OriginationFee FLOAT ,Status NVARCHAR(MAX) ,WithdrawnDate DATETIME ,WithdrawnReason NVARCHAR(MAX) ,DateReturnedFromUW DATETIME ,ExpirationOfLoanCommitment DATETIME ,RegBExpirationDate DATETIME ,ActionDateTimeInAvista DATETIME ,UnderWriter NVARCHAR (200) ,DateToCloser DATETIME ,Closer NVARCHAR(200) ,ClosingDate DATETIME ,FundedDate DATETIME ,FundedLoanInd NVARCHAR(115) ,FunderName NVARCHAR(250) ,LoanOfficerTotalsInd NVARCHAR (115) ,ProdCoordinatorTotalsInd NVARCHAR(115) ,ProcessorTotalsInd NVARCHAR(115) ,UnderwriterTotalsInd NVARCHAR(115) ,CloserTotalsInd NVARCHAR(115) ,FundedTotalsInd NVARCHAR(115) ,SpecialPrograms NVARCHAR(200) ,DateAdverseActionSent DATETIME ,AchiInd NVARCHAR(115) ,PreAppConv NVARCHAR (250) ,FirstMortgageHomeEquityGroup NVARCHAR (200) ,FirstMortgageInd NVARCHAR(15) ,HomeEquityInd NVARCHAR (110) ,FirstMortgageHomeEquityInd NVARCHAR(115) ,ActiveNoCashoutInd NVARCHAR(115) ,ActiveCashoutInd NVARCHAR(115) ,ActivePurchaseInd NVARCHAR(115) ,Active2ndMortgageInd NVARCHAR(115) ,ActiveHELOCInd NVARCHAR(115) ,ActiveFastTrackInd NVARCHAR(115) ,ActiveLoanPurposeGroup NVARCHAR(125) ,ActiveLoanPurposeGroupInd NVARCHAR (110) ,ActiveConventional1stMortgageInd NVARCHAR (200) ,ActiveHomeEquityInd NVARCHAR(200) ,FirstHomeEquityGroup NVARCHAR(MAX) ,FirstHomeEquityInd NVARCHAR(200) ,ActivePreApproval NVARCHAR (125) ,DateAppraisalSentToBorrower DATETIME ,DenialDescription NVARCHAR(MAX) ,DaysToClose NVARCHAR (100) ,DaysReadyToClose NVARCHAR (100) ,RegBLetterSent DATETIME ,RegBRequirement NVARCHAR (MAX) ,PreviousHomeOwnership NVARCHAR(150) ,Region NVARCHAR(125) ,RegionSortOrder NVARCHAR (100) ) INSERT INTO @pipeline ( loanGeneral_Id ,ApplicationDate ,ApplicationDay ,ApplicationDateWithoutTime ,AppMonYYYY ,AppMon ,AppMonNumber ,AppYYYYMM ,LO_IntroductionCall ,LToConvLog ,DaysFromAppSubToLOIntroductionCall ,DateKitSent ,DaysFromAppSubToMortKitSent ,DateGivenToProdCoordinator ,DaysWithProductionCoordinator ,DateApprisalReceived ,DateMTGKitReceived ,DaysFromMortKitReceivedToAppraisalReceived ,DateToUW ,DaysFromAppraisalReceivedToSubmittedToUW ,DaysWithUnderwritter ,DateClosingInstructionSent ,DaysApprovedToClosingInstructionsSent ,DaysWithProcessor ,DaysWithCloser ,NumOfLoan ,NumberofLoan ,RELoanOfficer ,MemberName ,Branch ,OriginatingBranch ,AccountNumber ,OriginatingMSR ,Processor ,DateToProcessor ,Issues ,Just_Value ,LEDeadlineWithoutPlus3 ,LEDeadline ,LoanSuffix ,Term ,TermInYears ,LienPostion ,LoanPurposeType ,LoanProgram ,GSERefinancePurposeType ,_Type ,ProductCode ,Purpose ,SecondMortgageAmount ,SecondMortgageCount ,RefiCashAmount ,RefiCashCount ,HELOCAmount ,HELOCCount ,FastTrackAmount ,FastTrackCount ,PurchaseAmount ,PurchaseCount ,PreApprovalAmount ,PreApprovalCount ,RefiBalanceAmount ,RefiBalanceCount ,CreditScore ,CreditScoreYTDReport ,Incentive ,MortgageAmount ,PropertyEstimatedValueAmount ,PropertyAppraisedValueAmount ,UnpaidBalanceAmount ,EmployeeOrNonEmployee ,PropertyValue ,LTV ,TitleCompany ,PMICompany ,LockedRate ,Points ,OriginationFee ,Status ,WithdrawnDate ,WithdrawnReason ,DateReturnedFromUW ,ExpirationOfLoanCommitment ,RegBExpirationDate ,ActionDateTimeInAvista ,UnderWriter ,DateToCloser ,Closer ,ClosingDate ,FundedDate ,FundedLoanInd ,FunderName ,LoanOfficerTotalsInd ,ProdCoordinatorTotalsInd ,ProcessorTotalsInd ,UnderwriterTotalsInd ,CloserTotalsInd ,FundedTotalsInd ,SpecialPrograms ,DateAdverseActionSent ,AchiInd ,PreAppConv ,FirstMortgageHomeEquityGroup ,FirstMortgageInd ,HomeEquityInd ,FirstMortgageHomeEquityInd ,ActiveNoCashoutInd ,ActiveCashoutInd ,ActivePurchaseInd ,Active2ndMortgageInd ,ActiveHELOCInd ,ActiveFastTrackInd ,ActiveLoanPurposeGroup ,ActiveLoanPurposeGroupInd ,ActiveConventional1stMortgageInd ,ActiveHomeEquityInd ,FirstHomeEquityGroup ,FirstHomeEquityInd ,ActivePreApproval ,DateAppraisalSentToBorrower ,DenialDescription ,DaysToClose ,DaysReadyToClose ,RegBLetterSent ,RegBRequirement ,PreviousHomeOwnership ,Region ,RegionSortOrder ) EXEC [ARCUSYM000].[cu].[spRealEstatePipeline] @BeginDate, @EndDate, @Branch, @Status



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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