SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Flexible Source Locations - Level 16 of the Stairway to Integration Services


Flexible Source Locations - Level 16 of the Stairway to Integration Services

Author
Message
Andy Leonard
Andy Leonard
Hall of Fame
Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)Hall of Fame (3.9K reputation)

Group: General Forum Members
Points: 3865 Visits: 1113
Comments posted to this topic are about the item Flexible Source Locations - Level 16 of the Stairway to Integration Services

Andy Leonard
Data Philosopher, Enterprise Data & Analytics
Jo Pattyn
Jo Pattyn
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13086 Visits: 10244
Thanks for the excellent stairway. Could you add level 15 and 16 to the general overview of stairway to ssis?
Nevyn
Nevyn
SSCertifiable
SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)

Group: General Forum Members
Points: 6148 Visits: 3151
Ironically, I was about to create a package to do just this, and was thinking I'd need a script task to find all the csv's in a directory, and then I'd need a foreach to loop through the variable. Excellent timing, Mr Leonard!
Lempster
Lempster
SSCertifiable
SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)SSCertifiable (7.7K reputation)

Group: General Forum Members
Points: 7650 Visits: 1659
Cracking stuff Andy! Thanks for sharing.
jetboy2k
jetboy2k
SSC Veteran
SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)SSC Veteran (212 reputation)

Group: General Forum Members
Points: 212 Visits: 71

One thing that isn't illustrated in this example is the actual mapping of variables to values in the container. In this instance, since there was only one variable (SourceFileName), and only value per loop to which that variable could map, that SSIS was able to map the two automatically.

But what happens (or, possibly better phrased), what does it look like when I have multiple values and variables? How do I map Var1 to Val1 and Var2 to Val2?


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search