Oracle deletes all tables of a user.

Source: Internet
Author: User

Some people said that they would first delete a user and then create the user.

I want to delete all tables under this user, but do not delete others.

1. query all tables under this user:

Executed under this user (no result, because it should not be fromDba_all_tablesQuery this table ):

Select * From dba_all_tables t where T. Owner = 'user ';

The correct one should be like this:

Select * fromAll_tablesT where T. Owner ='Ydsoft _ base';
In the single quotes'Ydsoft _ base' must be capitalized. Otherwise, no results can be found.

Then, I manually delete

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.