Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS question Expand / Collapse
Author
Message
Posted Monday, November 05, 2012 4:44 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 21, 2013 1:49 PM
Points: 145, Visits: 701
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 05, 2012 4:56 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, May 21, 2013 1:49 PM
Points: 145, Visits: 701
Ok Found out there is recordset destination-never used that one.Anything to add?
Post #1381317
Posted Monday, November 05, 2012 11:36 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378, Visits: 6,473
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 LessThanDot.

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


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Today @ 8:29 AM
Points: 837, Visits: 1,217
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