Hi, The problem is that the parser needs to know the column names at compile time of the query, otherwise it can't validate it. For example: select x from csvread(?) - the compiler can't possibly know if the column x exists.
If you know the column names, you could pass them as the second parameter to csvread. However, currently the file name is required. There is a feature request for "Allow execution time prepare for SELECT * FROM CSVREAD(?, 'columnNameString')", I will increase the priority. Please tell me if this feature would be enough for your use case (do you know the column names in advance?). 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.
