I have a source folder from where I have to extract only text files and load into a Database. I could do that using Foreach file enumerator. I also want to maintain a column at Destination(OLEDB) which would keep a track of the file that populated the corresponding record.This is precisely what I want at my destination
How to keep a track of file that populated destination in SSIS ForEach File enumerator?
96 Views Asked by Kantshri Baronia At
1
There are 1 best solutions below
Related Questions in FOREACH
- Working with multiple array in PHP
- Meteor: Blaze.Each example
- Having difficulty pushing data on an array using foreach
- foreach inside the for loop; keep looping
- Content of <f:view> not visible when using "Inspect element" in webbrowser
- PHP While Foreach of MySQL key
- PHP foreach and reference
- codeigniter required to store flashdata in for-each loop
- add anchor tag if content have some particular tags
- equaling the PHP argument and mysql data makes foreach loop not work
- Loading php foreach values in jQuery bar chart
- How to use for each in stored procedure?
- Error in function(i) : task 2 failed - "non-character argument" on R
- javascript foreach onclick
- How do I modify elements in a Perl array inside a foreach loop?
Related Questions in SSIS
- Data streams in case of Merge
- SSIS Package Component Intermittently Failing
- How to run an SSIS package having excel source on a server where excel is not installed using SQL Server Agent Job
- SSIS exit code error with batch file
- excel datasource returning nulls with sql command
- String to DATETIME with TimeZone
- Error executing SSIS Package
- SSIS Stops at a Particular Record Count
- How to know expected completion time of SQL Server SSIS job?
- Accessing parent parameters from child package SSIS 2012
- Is there a way to export huge amount of data (more than a million rows) from SQL Server to csv?
- ssis - No value given for one or more required parameters
- Split CSV file based on first column value changes and load into destination table in SSIS?
- Automated file import with SSIS package
- SSIS ETL parallel extraction from a AS400 file
Related Questions in SSIS-2012
- Split CSV file based on first column value changes and load into destination table in SSIS?
- How to copy folder from FTP to local Drive using SSIS?
- How to configure send mail task dynamically in SSIS using Package Configuration
- SSIS Expressions setting two variables
- Export separate pdfs from SSRS generated report
- SSIS execute process task error handling
- SSIS package which runs biweekly but there is no reverse out plan if it fails
- How to delete dynamic sub directories in a FTP directory in SSIS?
- Manually provide static / default values when mapping to OLE DB Destination from Excel Source
- Search, Copy and Move specific files from one folder (has subfolders) to another in SSIS
- Edit a SQL Server Integration Services Package
- SSIS Package with Dynamically creating Excel destination is not working from SQL Server Jobs
- SSIS Loading data from csv file to sql table
- SSIS not writing file while executing from different user
- import Excel into SQL Server using SSIS
Related Questions in FOREACH-LOOP-CONTAINER
- Iterate directories in SQL Server 2012/2014
- PHP if condition fails inside a foreach loop
- Add rows to the datagrid using foreach loop with dynamically returned query
- Reference a variable
- SSIS Result set, Foreachloop and Variable
- Excel file loading in SSIS
- How to keep a track of file that populated destination in SSIS ForEach File enumerator?
- SSIS Script Task does not work on second iteration of ForEach Loop Container
- Get columns names and value of table created on runtime using Laravel
- PHP 2 Arrays in Foreach-loop?
- Inserting Data into SQL Server from variables via SSIS
- How to run an SSIS package multiple times?
- SSIS package - How to produce multiple files with a foreach loop container?
- (java) How to iterate over double[][] 2d array using for each loop?
- What is " rows in all the tables" in for each loop?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In your foreach numerator you could assign the filenames to a variable. Add that to a derived column, and populate in your destination. Here is an example how you could do it:
Add your variable to derived column