2021-06-15 20:53:34
Topic starter
Hello,
Does anyone have a copy of the macro that deletes all the database schema contents?
Thanks!
You want to empty the contents of tables, or actually drop the tables/indexes/procs/etc?
I think emptying the contents should do it. My Bookstore project went sideways and I'm trying to recover.
If you just want to delete the data in your database, but preserve the schema; then one way to do that is to run the following in SQL:
{call dtb.delete_data()}
There is also the delete-data ant target that can be run from root:
ant delete-data