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

Define Foreign Key?

3 Answers   ADP, College School Exams Tests,


How can we delete a table in sql server?

0 Answers  


How to loop through the result set with @@fetch_status?

0 Answers  


How we can compare two database data?

0 Answers  


How do I create an extended event in sql server?

0 Answers  






Why would you use sql agent?

0 Answers  


What is a livelock?

0 Answers  


How can you check the level of fragmentation on a table?

0 Answers  


how we can use a database with php.

2 Answers   HCL, IT Solution,


what is dbcc? : Sql server database administration

0 Answers  


How to connect to a sql server using odbc_connect()?

0 Answers  


how to define testing of network layers? : Sql server database administration

0 Answers  


Categories