>
> I just noticed that CSVREAD just removes the trailing spaces in the values.
>>
>>
> more specifically, enclosed values with " are fine, space are preserved,
> but if it is not enclosed then they are trimmed automatically.
>
> is there not an option to keep the values as it is?
>

just noticed now that there is an option...

select * from CSVREAD('test.csv','charset=UTF-8 preserveWhitespace=true');

I should have read the manual first :-)

However I think it should be better to have this option true by default.

Best regards,
Sylvain

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to