SSIS: How to limit the number of rows copied from flat file

  • Is there a way to limit the number of rows copied from a flat file into sql server using an SSIS package. I have a flat file with about 10 million records. I only want to copy over the first million. I'm new at this, thanks for your help.

  • Use Row Sampling task in data flow transformation and specify number of records you wanted.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply