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.
https://ittutorial.org/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/