Flat File (delimited)

  • i need to dump the flat file to a table and the flat file is in this format

    ~100~test~20-4-2009~

    when i do a delimited option with ~ i get like 5 columns in the column mapping

    first colum is blank

    second column is 100

    third is test

    fourth 20-4-2009

    fifth blank

    i want only three columns

  • Hello,

    There is probably a more elegant solution but as a workaround you could edit the Mappings to the Destination Table, to ignore the first and last Input Columns.

    Regards,

    John Marsh

    www.sql.lu
    SQL Server Luxembourg User Group

  • Thanks it worked.

  • John Marsh (7/12/2009)


    Hello,

    There is probably a more elegant solution but as a workaround you could edit the Mappings to the Destination Table, to ignore the first and last Input Columns.

    Regards,

    John Marsh

    🙂 There is a slightly more elegant solution. The problem with this method is that redundant data is fired through the pipeline. To avoid this, edit the flat file source and deselect the unwanted columns ...

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

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

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