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: Wednesday, September 21, 2016 11:37 AM
Points: 284, Visits: 1,471
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: Wednesday, September 21, 2016 11:37 AM
Points: 284, Visits: 1,471
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: Today @ 6:18 AM
Points: 15,396, Visits: 13,123
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


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 10:41 AM
Points: 2,032, Visits: 3,344
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