FlowHeater - The Data Import / Export Specialist
See also the existing examples of using the SqlServer Adapter Adapter, which may answer your question: CSV text file import , flat file export , Import IDENTITY (Auto Increment) fields , CSV export divided into several files

Embedded return character in text field

  • Henry Hayden
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #3176 by Henry Hayden
Embedded return character in text field was created by Henry Hayden
I'm trying to import a CSV file into SQL Server, but the text file adapter has a problem with a text field with an embedded return character. When I configure the text file adapter, and view the records in column mode, I can immediately see that the first record has the wrong data in the first column. Every succeeding column header has the wrong name, as well.

I can see that an address field is actually a multi-line memo field that allows for entering return characters. I can proceed no further. Choosing any other column delimiter does not help. Is this a bug, or is there a workaround?

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #3178 by FlowHeater-Team
Replied by FlowHeater-Team on topic Embedded return character in text field
Hi Henry,

FlowHeater support also new lines in CSV field content. This option ist not activated in the standard settings by default. To enable this you just have to oben the READ TextFile Adapter configurator and switch to the tab “Advanced”. Here you´ll find the option “Allow line breaks in column data”.
In the attached ZIP Archive you´ll find a short example.



File Attachment:

File Name: csv-import...ield.zip
File Size:2 KB

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.297 seconds

other Languages

de

FlowHeater Home

de en

Imprint/Contact

Privacy Statement

Copyright © 2009-2023 by FlowHeater GmbH.
All rights reserved.

Follow us on

twitter  facebook

YouTube

 de en