How to import caret delimited '^' text file using SSIS

  • Hi All,

    I was trying to create a ssis package to import caret delimited text file the flat file connection manager does not give me the option to select the delimiter Caret '^'. i am able to accomplish this with the bulk insert

    with the below syntax

    BULK INSERT test.dbo.testload

    FROM 'c:\test.csv'

    WITH

    (

    FIELDTERMINATOR ='^',

    ROWTERMINATOR = '',

    FIRE_TRIGGERS

    )

    please advise how can i load using SSIS package.

    Thanks in Advance.

    Rembersu

  • When you create a connection to the source file, using the Flat File Connection Manager Editor', select 'Advanced' - you can type in a caret directly as the column delimiter.

    Phil

    The absence of evidence is not evidence of absence
    - Martin Rees
    The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
    - Phil Parkin

  • Hi Phil ,

    when i try to create flat file connection i see only one column in the Advance tab in the flat file connection manager editor. have tried to change the column delimiter to caret but it did not work. please advise.

    Thanks & Regards,

    Rembersu

  • Instead Select the columns link.

    you'll See

    Row Delimiter {CR}{LF}

    Column Delimiter Comma{,} -- Change this to ^

  • Thank you Phil & Ray!

    It works now i am to load the text file with caret delimited.

    Rembersu

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

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