How to drop all user tables?

前端 未结 9 610
后悔当初
后悔当初 2020-12-04 04:22

How can I drop all user tables in oracle?

I have problem with constraints. When I disable all it is still no possible.

9条回答
  •  天涯浪人
    2020-12-04 05:06

    The simplest way is to drop the user that owns the objects with the cascade command.

    DROP USER username CASCADE
    

提交回复
热议问题