How do I code a TAB Chr(9) in SSIS

  • In SSIS I need to process a tab delimited flat file with records of varying length.

    I'm using a Script Component to redefine the fields but I need to use a TAB to as the column delimiter, I've used the following for comma seperated file in the past:

    columnDelimiter() As Char = CType(",", Char())

    I can't just replace "," with Chr(9).

    Anybody ideas would be greatly appreciated.

  • found it, I can use vbTab for the Chr(9) like

    Row.DB = Tokenise(Row.line, vbTab, 1)

    😀

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

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