0

I have pipe delineated flat file that SSIS is reading in. This flat file has 7 header rows. There is an option to skip (n) number of header rows, but the problem is, is that I need to have the ability to retrieve data from these rows as well.

What is the best way of retrieving this this information to be used later in data flow?

aceinthehole
  • 5,122
  • 11
  • 38
  • 54

2 Answers2

1

A couple of things to try.

If there is a field that denotes the header you can read in all the data then use a conditional split to split out the header records from the data.

Or you could use something like this.

Community
  • 1
  • 1
CTKeane
  • 674
  • 1
  • 9
  • 22
0

When all else fails, you could always use Script Component of type Source.

unclepaul84
  • 1,404
  • 8
  • 15