Skip to main content
Question

How to convert export file to Oracle file


perry
Forum|alt.badge.img+2

Hello FME expert,

I try to read a file (ZRM.csv) into Oracle db but my result looks like output.xls

I don't manage to get rid of the seperations |~| and [||] and [ with my reader because I have only 1 Delimiter Character in the CSV reader.

Is there a better way to extract and read only the items that I want?

Many thanks for your reply

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

I think the ~ represents a null?

 

And the [||] at the end of the line looks like an unused array?

Read the file as text

 

Remove the [||] at the end with a StringReplacer

 

Remove the ~ with a StringReplacer

 

Text to columns with the AttributeSplitter, drop empty parts (drop columns that used to contain a ~)

 

Create columns you need with the AttributeCreator

texttocolumns2018.fmw


perry
Forum|alt.badge.img+2
  • Author
  • May 18, 2018

Wow, it finally works, I never thought about your solution using TXT. Thanks for your detailed explination Niels!!!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings