Hi Thomas,

Yes, I do know the column names.
The feature request you mentioned is exactly what is needed.

Any idea when will it be available?
I can do some of the changes too.

Thanks,
Vipul.

On Jan 17, 8:48 pm, Thomas Mueller <[email protected]>
wrote:
> 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.


Reply via email to