Delete all tables in Derby DB

后端 未结 10 1030
离开以前
离开以前 2020-12-30 05:42

How do i delete all the tables in the schema on Apache Derby DB using JDBC?

10条回答
  •  失恋的感觉
    2020-12-30 06:23

    Download Squirrel SQL from http://squirrel-sql.sourceforge.net/

    Connect to the database.

    Expand the TABLE node.

    Select the tables that you want to drop.

    Right click and select -> Scripts -> Drop table scripts

    Run the generated queries

    You can even select delete records to empty the selected tables.

提交回复
热议问题