> import org.h2.tools.*;
> ...
> ResultSet rs = ...
> Csv csv = Csv.getInstance();
> csv.write("<path_to_local_file>", rs, "UTF-8");
>
> Please note the default charset for Csv.write is not UTF-8 (the
> javadocs are wrong), but the system default charset.
>
> See
> alsohttp://www.h2database.com/javadoc/org/h2/tools/Csv.html#write_String_...
>
> Regards,
> Thomas
Hi Thomas.
Thank you, I missed this in the documentation, and now I feel like an
idiot! I have to tell you, I've confused my IT manager, we have a MS
SQL server installation, not sure which version (I don't touch .Net),
running on a blade, and I do things on my development PC that baffle
them. Running H2 in embedded mode is insanely fast, and even when I
deploy to the network, I still end up running circles around our
"dedicated server". Go figure!
Best regards
Ewald
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.