Hi,

I will add the following documentation at
http://h2database.com/html/tutorial.html#csv :

------------------------------------------------------

= Importing Data from a CSV File =

A fast way to load or import data (sometimes called 'bulk load') from
a CSV file is to combine table creation with import. Optionally, the
column names and data types can be set when creating the table.
Another option is to use INSERT INTO ... SELECT.

CREATE TABLE TEST AS SELECT * FROM CSVREAD('test.csv');
CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255))
    AS SELECT * FROM CSVREAD('test.csv');

------------------------------------------------------

Does this solve your problem?

Regards,
Thomas

-- 
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.

Reply via email to