H2 database, insert by selecting results from CSVREAD
问题 I have a CSV file like 1,hello,13 2,world,14 3,ciao,26 I'm trying to use CSVREAD function to read this file into database, like this insert into my_table( id, message, code ) values ( select convert( "id",bigint ), "message", convert( "code", bigint) from CSVREAD( 'myfile.csv', 'id,message,code', null ) ); For some reason I keep on getting SQL error stating that the column count does not match. The table is created with Hibernate/GORM and contains the fields I try to insert into. The select