How to import a CSV file into SQL which is missing a column name?

  • Can you confirm that if you fix up the header in the source file, everything runs OK?

    If so, can you post some actual data - just the first couple of rows.


  • Thanks for replying Phil,

    Yes, fixing the header returns success. I have used Script task to modify the file and then import it into SQL which solves the problem.

    Actually, I was looking for a simple solution within SSIS but it looked like using a script is the only way.

    Good Day !

    ________________________________________________________________
    "The greatest ignorance is being proud of your learning"

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

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