Link to home
Start Free TrialLog in
Avatar of nuberun
nuberun

asked on

DTS Skip rows text file source

Hello,

I have a source text file which contains 8 rows header.

So in source text file properties i set the skip rows=8.

Then i using the transform data task to transform the data into SQL table.

But the result is that there are 8 rows of data also skipped.

How can I solve this problem?
Can I change the skip row properties in the transform data task?
Can I use an activeX script to remove the first 8 lines of the file? How Can I do this?

It's very urgent.

Thanks in advance
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

If you are going to skip the 8 header rows, than you need to uncheck the "First row has column names" check box.
Avatar of nuberun
nuberun

ASKER

Hi,

This option is not checked.
Than the only other thing would be if the first 8 rows did not use the same row delimiter as the rest of the file.  If this is not the case, than post some sample data, that duplicates the problem.

Also, please post a message in Community Support to have the following question deleted:
https://www.experts-exchange.com/questions/21744038/skip-rows-dts-text-source-file.html
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial