Site icon IT Tutorial

ORA-38305: object not in RECYCLE BIN

Hi,

Sometimes You can get “ORA-38305: object not in RECYCLE BIN ” error.

 

Details of error are as follows.

ORA-38305: object not in RECYCLE BIN

Cause: Trying to Flashback Drop an object which is not in RecycleBin.

Action: Only the objects in RecycleBin can be Flashback Dropped.


SQL> flashback table mehmet.test to before drop ;

flashback table mehmet.test to before drop

ORA-38305: object not in RECYCLE BIN

 

 

You can read the following post, if you don’t know what is the Recycle bin.

What is the Recycle bin and How to Restore Dropped Tables from Recycle Bin

 

 

If you got this error, it means Related objects don’t exist in the Recycle bin, because Only the objects in RecycleBin can be Flashback Dropped.

Or

Make sure that Tablespace where the related objects were created is not locally managed , If it is not locally managed, you need to fix it.

 


Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

Exit mobile version