> How do I get a list of table names ?
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES...
> but I noticed that if I do a 'DROP ALL OBJECTS
> DELETE FILES' and revisit the same database again, the information
> schema would still contain the names of the old tables even though the
> tables are already dropped.
Well, that's not good. Are you sure? I can't reproduce this. Could you
post a simple, standalone test case that reproduces the problem? It
would be great if the test case does not have any dependencies except
the H2 jar file (that is, a simple SQL script that can be run in the
H2 Console, or a Java class uses the JDBC API and is run using a
static main method). Please include any initialization code (CREATE
TABLE, INSERT and so on) in the Java class or in a .sql script file.
Regards,
Thomas