Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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!