HomeForum
Welcome, Guest

Loading data from MySQL: Replace CR/LF?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Loading data from MySQL: Replace CR/LF?

Loading data from MySQL: Replace CR/LF? 1 year, 1 month ago #2672

  • baba
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hello,

I have a transformation that is pulling from a MS SQL view; and one of the fields is pulling over cr/lf's that are not being removed via the 'replace characters' function
any ideas as how to best remove them?

thanks!
B

Re: Loading data from MySQL: Replace CR/LF? 1 year, 1 month ago #2673

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Use script transformation instead

begin
result:=Replace(Replace([F001],(Char(12)),''),Char(13));
end;

Peter
  • Page:
  • 1
Time to create page: 0.14 seconds

Testimonials

We had two thousands text files in same format. We were able to load them in one click using Visual Importer ETL.

Pol Barret,
Accountant

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