I have a comma-delimited text file containing 4 header rows, the first of which has metadata that I'm trying to capture. However, it has only 8 columns while the rest of the file has significantly more columns. (83 in this case).
I've tried using a Row Sampling Transform to import only the first row. However, the Flat File connection manager for this file defines only the 8 columns, with all the delimiters being Comma (,), except the 8th column, which is delimited by [CR][LF].
This pattern is violated in the second row, where the 8th column is delimited by a Comma (,).
I have a separate Data Flow Task (using a different Connection Manager) that imports the rest of the file, so, for this Task, the rest of the file is trash, so to speak. Is there some way to ignore the rest of the file when I just want the first line?