Hi, You can already do that, see the documentation at http://h2database.com/html/features.html#user_defined_functions "Functions Returning a Result Set"
Regards, Thomas On Sat, Nov 3, 2012 at 6:24 AM, Ankur Bajoria <[email protected]>wrote: > I have created an excel extension for H2 DB that at the moment works like > a normal java program. I need to know if there is a way to define a custom > query syntax for my extension for e.g. CREATE TABLE TEST AS SELECT FROM > EXCELREAD('filename'); similar to the csvread syntax. Is that possible, if > yes then how do I go about it. Any help would be appreciated. > > Regards, > Ankur Bajoria > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/h2-database/-/gNmVtICDFJYJ. > 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. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
