![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm fairly new to DTS and I'm trying to import some flat text files into a sql server staging table, but the text file has up to 195 lines of junk (this can be variable) that I'm not interested in. There is a marker line, which reads START-OF-DATA. I want to start the import 2 lines after that line. There is also some footer information that I don't want after the line END-OF-DATA that I'm not interested in. The data is delimited with a |. The file sizes are 20-100MB. Easy to do? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Were it me I would write a quick little app to execute your pattern and preprocess the file. Command line would be very easy. Windows with a getFilename interface wouldn't be much harder. thx md *** Sent via Developersdex http://www.developersdex.com *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |