Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To View the Dropped Tables in Your Recycle Bin
How To View the Dropped Tables in Your Recycle Bin? - Oracle DBA FAQ - Managing Oracle Database Tables
✍: FYIcenter.com
You can look what's in your recycle bin through the predefined view called RECYCLEBIN. You can use the SELECT statement to list the dropped tables as shown in the following script:
SQL> connect HR/fyicenter Connected. SQL> CREATE TABLE emp_dept_90 2 AS SELECT * FROM employees WHERE department_id=90; Table created. SQL> SELECT COUNT(*) FROM emp_dept_90; COUNT(*) ---------- 3 SQL> DROP TABLE emp_dept_90; Table dropped. SQL> COL original_name FORMAT A14 SQL> SELECT object_name, original_name, droptime 2 FROM recyclebin; OBJECT_NAME ORIGINAL_NAME DROPTIME ------------------------------ ------------- --------------- BIN$uaSS/heeQuys53HgXRhEEQ==$0 EMP_DEPT_10 06-04-01:18:57: BIN$gSt95r7ATKGUPuALIHy4dw==$0 EMP_DEPT_10 06-04-01:19:59: BIN$bLukbcgSQ6mK1P2QVRf+fQ==$0 EMP_DEPT_90 06-04-01:20:47:
As you can use the EMP_DEPT_10 was dropped twice. If the same table was dropped multiple times, you need to restore by using the object name in the recycle bin with FLASHBACK statement.
Note that RECYCLEBIN is just an alias of USER_RECYCLEBIN.
2007-05-04, 5055👍, 0💬
Popular Posts:
What are unadjusted function points and how is it calculated? Unadjusted function points = ILF + EIF...
How To Change System Global Area (SGA)? - Oracle DBA FAQ - Introduction to Oracle Database 10g Expre...
How To Use an Array as a Queue? - PHP Script Tips - PHP Built-in Functions for Arrays A queue is a s...
Describe in detail Basic of SAO architecture of Remoting? For these types of questions interviewer e...
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...