using an ~ as the delim type

Hi all,

Need some advice on how to handle SSIS imports of txt files that use the ~ as the delimiter.

Rows are handled OK just the seperation of the columns is the issue. The setup is from a vendor which has coded the extract routines to use this symbol (not sure what it is called, sorry!) as the the delimiter and other options are unavailable.

I have a solution working in Access using these same files however, I want to take advantage of the SQL 2005 functionality.

Many thanks,

M


Answer this question

using an ~ as the delim type

  • resyuz

    Thank you for your suggestion.

    I've tried this however, the '~' symbol is not listed as an option and I can't see how you can specify others than what is listed.

    I'll consider other options however, being able to specify the delimiter is preferable.

    Cheers


  • John Wilkie

    Hello.

    In your "Flat File Connection" under "Connection Managers" select "Columns" and you can set your delimiter. Under "Advanced" you can even set different delimiters for different fields, if you want

    Hope this helps



  • Chris White

    Wait a minute, I think I have it.

    I forced in the ~ as you suggested instead of selececting it from the drop-down list.

    Thanks for your assistance.


  • anonymizer

    The delimiters offered in the list are only the ones that are commonly used. You can type whatever you want as your delimiter and even combine printable with not printable characters by using provided ({CR}, {LF}, {t}, etc) markers.

  • using an ~ as the delim type