I just figured out that it is possible to connect to a file based DB using DBVisualiser. I guess my SQuirrel client is having some issues. one question of mine is answered. On Sep 24, 2:43 pm, veeseekay <veesee...@gmail.com> wrote:
Hi chaps, I have just started using h2 for my desktop application. Am using h2 as an embedded file based DB. I need some basic info, 1)Can the data and the tables in the files be viewed using any sql client(squirrel viewer) ? 2)Can I export the data in the file such that it can be imported into another db? Cheers! TIA ~v
-- Saludos, Dario
> 1)Can the data and the tables in the files be viewed using any sql
> client(squirrel viewer) ?
Yes, this should work.
> 2)Can I export the data in the file such that it can be imported into
> another db?
Yes and no. The SQL script generated using the SCRIPT command or
Script tool is 'lossless' meaning it contains all data that is
meaningful to H2. However, depending on the features you used, such
script will not always work on other databases. It's probably easier
to use a database copy tool such as the "SQuirreL DB Copy Plugin" at
http://dbcopyplugin.sf.net/ - see also the links at
http://h2database.com/html/links.html
Regards,
Thomas