Hi again. Yes that worked. I must have been blind or something because i have looked at the SCHEMA() function together with the INFORMATION_SCHEMA, but was unable to make it work. Its as simple as this:
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = SCHEMA() AND TABLE_NAME LIKE 'TEST%' I redraws my patch for the SHOW TABLE command that i have posted in another thread. Thank you for the help. /Jacob On Tuesday, May 15, 2012 7:47:20 PM UTC+2, Thomas Mueller wrote: > > Hi, > > The JDBC database metadata functions are the best solution. > > If you need to access INFORMATION_SCHEMA directly, you could use the > SCHEMA() function: http://h2database.com/html/functions.html#schema > > Regards, > Thomas > -- 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/-/Jdqi6z8sEPoJ. 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.
