views:

111

answers:

1

I've created an in memory hsqldb and am using the default database/schema. Now I want to drop and recreate the database programatically.

How do I do that?

Thanks Daniel

A: 

DROP SCHEMA PUBLIC CASCADE

This will purge the public schema. If you create other schemas, use the same command with the schema name instead of PUBLIC.

fredt