Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Replace "enter" while loading script

Hi experts 🙂

I am trying to get adresses from my database by using this code


Debiteur_Adres:
LOAD adres,
plaats,
postcode;
SQL SELECT *
FROM DATA.PUB."ba-012";


This works fine, only the field "adres" can contain multiple lines, seperated by an "enter" ( chr(10) )

I want to have all these chr(10) 's replace by a comma while loading the script.

Any suggestions?

1 Solution

Accepted Solutions
googel84
Partner - Creator III
Partner - Creator III

I tried with a simple excel file and the following load statement worked fine.

LOAD
replace(adres,chr(10),','),
plaants,
postcode;
SQL SELECT ...

Hope it helps.

View solution in original post

2 Replies
googel84
Partner - Creator III
Partner - Creator III

I tried with a simple excel file and the following load statement worked fine.

LOAD
replace(adres,chr(10),','),
plaants,
postcode;
SQL SELECT ...

Hope it helps.

Anonymous
Not applicable
Author

Yes, that it, thanks!