TEST
Powered by Blogger.
Responsive Ad
Responsive Ad

Author Profile

About Me

Start Sharing

Start Sharing

Drive Traffic on Social Platforms

Blog Archive

Blog Journey

Blog Journey

Learn how to start a perfect Blog

Work Smart, Not Hard - Let's See

Make your Blogging experience faster and easiest …
Work Smart, Not Hard - Let's See
Design by - Blogger Templates | Distributed by Free Blogger Templates

Made with Love by

Material UI Template is Designed Theme for Giving Enhanced look Various Features are available Whic…

Random Posts

Ads Section

HOME > > Recycle Bin (Part-4)

Recycle Bin (Part-4)

Anup - Saturday, 3 January 2009

A recycle bin contains all the dropped database objects and their dependent objects.

Note:

  • We can drop it immediately and permanently with purge option (DROP TABLE emp PURGE)
  • We can view the dropped objects in the recycle bin from two dictionary views:
    USER_RECYCLEBIN — list all dropped user objects.
    DBA_RECYCLEBIN — list all dropped system-wide objects

Viewing the original name of dropped objects?

SQL> SELECT object_name as recycle_name, original_name, object_type FROM recyclebin;

How to remove table from recycle bin?

SQL> purge table "BIN$0+ktoVChEmXgNAAADiUEHQ==$0";

How to purge recycle bin?

SQL> purge recyclebin;

How to purge all objects from the recycle bin?

SQL> purge dba_recyclebin;

How to purge all objects from tablespace in the recycle bin?

SQL> purge tablespace users;

Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me