Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
I tried with a simple excel file and the following load statement worked fine.
LOAD
plaants,
replace(adres,chr(10),','),postcode;
SQL SELECT ...
Hope it helps.
I tried with a simple excel file and the following load statement worked fine.
LOAD
plaants,
replace(adres,chr(10),','),postcode;
SQL SELECT ...
Hope it helps.
Yes, that it, thanks!