How do you connect 100 files as a flat file sources in one
package of SSIS?

Answers were Sorted based on User's Feedback



How do you connect 100 files as a flat file sources in one package of SSIS?..

Answer / ramesh

using for each loop and iterate each file in that folde or object

Is This Answer Correct ?    1 Yes 0 No

How do you connect 100 files as a flat file sources in one package of SSIS?..

Answer / prashant

if you mean merging 100 flat files into one, you may
try "Union All" component if the data is similar.

Here's how:

1. Create Flat File Sources for each file.
2. while creating Flat file connection, don't forget to
mention that the first row is columnname.
3. Edit "Union All" component and select all the Input
field names (from all the columns).
4. Point the output to either to a OLEDB or another Flat
destination, map the fields...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL Server Interview Questions

How to achieve Paging of records in SQL SERVER?

0 Answers   Petranics Solutions,


select empid empname from employee What is the result for the about query?

4 Answers  


How to select nth record from a table?

13 Answers   DELL, Microsoft, Ramco,


What is coalesce in sql server?

0 Answers  


What is difference between oltp and olap?

0 Answers  






Can we add an identity column to decimal datatype?

0 Answers  


Explain the database you used in your final year project?

0 Answers   Wipro,


How to use clusters?

0 Answers   Amdocs,


how we can store the value like that 001,003,023 etc in sql server 2005

7 Answers  


Will the writetext statement activate a trigger?

0 Answers  


How to set a database state to offline in ms sql server?

0 Answers  


What is the difference between local table and global table

1 Answers   CarrizalSoft Technologies, Polaris,


Categories