Closed GoogleCodeExporter closed 8 years ago
Hi,
CSVREAD returns VARCHAR for all columns, so converting comma to a dot within
CSVREAD
would be the wrong place. If you use CSVREAD as a table to insert into or create
another table, the data is converted using the default conversion, for example
CAST(x
AS DECIMAL). This conversion is not local specific, and I don't plan to add
such a
feature as other databases also don't support it (as far as I know). I also
don't
plan to add a feature request, sorry.
You could use REPLACE: http://www.h2database.com/html/functions.html#replace -
or you
could create a special java function to do that (see CREATE ALIAS).
I would try to avoid using a comma however.
Original comment by thomas.t...@gmail.com
on 13 Jul 2009 at 7:04
Original issue reported on code.google.com by
ggrothendieck@gmail.com
on 11 Jul 2009 at 5:39