dbTalk Databases Forums  

SSIS Foreach File Enumerator

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS Foreach File Enumerator in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
WalterWalt
 
Posts: n/a

Default SSIS Foreach File Enumerator - 12-27-2006 , 04:47 PM






Hello - I want to use the SSIS Foreach File Enumerator in a package that
loads files into one table, but also in that table update the filename
column to the name of the file

Thanks



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS Foreach File Enumerator - 12-27-2006 , 05:30 PM






When you pick up the file from the filesystem using the ForEach
enumerator you will be assigning the name of the file to a variable.
That variable in the pipeline can be the source for a derived Column.
This can then be used to be inserted into the destination table.

--
Regards



Allan Mitchell


Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com





"WalterWalt" <,> wrote


Quote:
Hello - I want to use the SSIS Foreach File Enumerator in a package that
loads files into one table, but also in that table update the filename
column to the name of the file

Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.