Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Unanswered: Need Help Importing a double delimited file

    I am trying to import a delimited file using the import utility:

    IMPORT FROM file1 OF DEL MODIFIED BY COLDEL~| COMMITCOUNT 2500
    SKIPCOUNT 1 replace INTO table_name1 (col1, col2, col3, col4)

    Sample line from the input file:
    PI00006QD5~|4904171~|2~|43107

    Obviously this doesn't work.

    How do I specify that the delimiter is ~|

    Can someone please help me out here?

    Thanks!

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    The delimiter should be a single character. You'll have to modify your file.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Oct 2012
    Posts
    2

    Cool

    The problem was that I was not able to load the file to a table in the DB by using the IMPORT utility, since the input file was delimited by 2 characters ~|

    So, I hear that modifying the input file is the only way to go.

    Thanks for taking time to reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •