Is this syntax peculiar to h2, and if not, is there a name for it? It's like a table literal, or something.
On Monday, October 7, 2013 12:59:45 PM UTC-7, Brian Craft wrote: > > Thanks! > > On Monday, October 7, 2013 12:49:53 PM UTC-7, Thomas Mueller wrote: >> >> Hi, >> >> See http://h2database.com/html/functions.html#table >> >> Regards, >> Thomas >> >> >> >> On Mon, Oct 7, 2013 at 9:06 PM, Brian Craft <[email protected]> wrote: >> >>> From the performance docs: >>> >>> PreparedStatement prep = conn.prepareStatement( >>> "SELECT * FROM TABLE(X INT=?) T INNER JOIN TEST ON T.X=TEST.ID"); >>> prep.setObject(1, new Object[] { "1", "2" }); >>> ResultSet rs = prep.executeQuery(); >>> >>> >>> What is the "TABLE(X INT=?)" bit? I don't see anything like this in the >>> grammar doc. Also, is there a way use an array like this from the console? >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
