~|~ Delimiter. Has anyone seen ~|~ as a delimiter?

Villa 231 Reputation points
2024-07-16T18:46:12.36+00:00

I received the text files from our vendor every morning. The file contains ~|~ as a delimiter.

Has anyone ever seen this kind of delimiter and if so, how do you handle this kind of delimiter?

I am using SSIS Package to import the text file into SQL Server 2019.

Thank you in advance for your help.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,590 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
538 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZoeHui-MSFT 37,441 Reputation points
    2024-07-17T01:55:44+00:00

    Hi @Villa,

    You may set the custom delimiter in flat file connection manager editor like shown below.

    User's image

    User's image

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 54,806 Reputation points
    2024-07-16T19:46:52.2433333+00:00

    Odd delimiter but shouldn't be an issue. Nothing says a delimiter has to be a single character. In general you just need to set your delimiter to whatever string is being used. But you didn't provide us information about what task you're using for this so it is hard to tell you how to proceed.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.