Delete all tables in Derby DB

后端 未结 10 939
离开以前
离开以前 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:11

    A simpler solution is to use JDBC to run "drop database foo" then "create database foo". However, this will cause all objects in the DB to be deleted (i.e. not just tables).

提交回复
热议问题