Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
geordie
Starting Member
1 Post |
Posted - 2009-06-08 : 14:36:22
|
I am receiving multiple text files, each having one of five different layouts to be loaded into separate tables (e.g. invoice detail, invoice header, summary,...) Each file is "|" delimited, and has column names in the first row; I cannot tell which file it is before reading the first records.Looks like I need to use ForEach to process all the files found in a directory once a day, but how do I do the conditional processing to have different input processes bases on the first line of data?ThanksGeordie |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-06-09 : 13:39:23
|
i think you need a script task for checking first row data from files and then process accordingly |
 |
|
|
|
|