HomeForum
Welcome, Guest

Parsing a Field in piped delimited file
(1 viewing) (1) Guest
Data Warehousing and Data integration
  • Page:
  • 1

TOPIC: Parsing a Field in piped delimited file

Parsing a Field in piped delimited file 4 months, 2 weeks ago #4402

  • MariaC
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi guys,

I have a pipe delimited file to load. One field has list of values separated by commas. I need to create one record per each value in that list. But there may be multiple values like a,b,d or only one value like k in that field.

Can you advise me the best way to split the record into multiple based on the number of values coming into that field irrespective of it has a,b or c values separated by commas?

Thanks a lot,
Maria

Re: Parsing a Field in piped delimited file 4 months, 2 weeks ago #4403

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
Maria

Is there maximum number of fields you can get?

Peter

Re: Parsing a Field in piped delimited file 4 months, 2 weeks ago #4404

  • MariaC
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Peter

Thank for the quick response.

I can't really tell you the number can be very high

Maria

Re: Parsing a Field in piped delimited file 4 months, 2 weeks ago #4405

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2183
  • Karma: 12
This can be easily done by using Advanced ETL Processor Un Pivot transformation.

See attached picture

Peter
Attachments:

Re: Parsing a Field in piped delimited file 4 months, 2 weeks ago #4406

  • MariaC
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Thank you Peter

I have never thought that it is going to be that simple.

Maria
  • Page:
  • 1
Time to create page: 0.17 seconds

Testimonials

Bye the way….. Your software rocks big time. This is the easiest way I have ever found to deal with disparate databases!!!!!!!!!!!!!!!!!!!!

George Martin

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top