Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS question Expand / Collapse
Author
Message
Posted Monday, November 5, 2012 4:44 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 1:19 PM
Points: 281, Visits: 1,429
I have three column values (startdate, completedate, recordcount) that i get in txt audit file. I need to use those values downstream in my ssis package. I want those values in the ssis variables. Is there a way i can map them directly to ssis variables and use them instead of loading them into a table.

many thanks.
Post #1381313
Posted Monday, November 5, 2012 4:56 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 1:19 PM
Points: 281, Visits: 1,429
Ok Found out there is recordset destination-never used that one.Anything to add?
Post #1381317
Posted Monday, November 5, 2012 11:36 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Friday, February 5, 2016 2:07 PM
Points: 15,016, Visits: 12,988
Yes, there's only a destination, not a source.
You need to write a script component as a source to read from the object variable where the recordset is stored in.

Somehow using a table seems easier to me




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1381392
Posted Tuesday, November 6, 2012 7:15 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 10:21 AM
Points: 1,799, Visits: 2,949
You can use a ForEach Loop task to read from a recordset object and assign the column values from each row to a variable.
Post #1381557
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse