You can't with default setting in data flow/flat file reader.
Read all and delete afterwards the unwanted records.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How to read Top 10 records in flat file via SSIS?
Hope that you may gie the steps.
Thank u in advance.
You can't with default setting in data flow/flat file reader.
Read all and delete afterwards the unwanted records.
Hi @R.B.V,
Bulk Insert Task in SSIS' Control Flow supports such functionality via LastRow and FirstRow parameters.
Here is a tutorial for you: https://www.tutorialgateway.org/bulk-insert-task-in-ssis/
Hi @R.B.V,
You may use Script component as transformation to generate the sequence number for each of the record. Once we have the sequence number we will be using Conditional Split to get top X records or range of rows depending upon our requirement.
Here is a tutorial you may take a reference to.
SSIS - Read Top X Rows From Flat File / Excel File OR Range OF Rows
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.