Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books
Oracle Software
image
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

 

 
           Example of Dropping an Object
 
SQL> create table test (col_a varchar(4));

Table created.

SQL> select object_name, original_name, type, createtime, droptime
     from   user_recyclebin;

no rows selected

SQL> drop table test;

Table dropped.

SQL> select object_name, original_name, type, createtime, droptime
     from   user_recyclebin;

OBJECT_NAME                    ORIGINAL_NAME      TYPE    CREATETIME          DROPTIME
------------------------------ ----------------   ------  ------------------- --------
----------- 
BIN$0+ktoVCgEmXgNAAADiUEHQ==$0 TEST               TABLE   2004-02-21:19:04:03 2004-02-
21:19:04:41


SQL> create table test (col_b varchar(4));
Table created.

SQL> select object_name, original_name, type, createtime, droptime
     from   user_recyclebin;

OBJECT_NAME                    ORIGINAL_NAME      TYPE    CREATETIME          DROPTIME
------------------------------ ----------------   ------  ------------------- --------
----------- 
BIN$0+ktoVChEmXgNAAADiUEHQ==$0 TEST               TABLE   2004-02-21:19:07:33 2004-02-
21:19:08:17


SQL> drop table test;
Table dropped.

SQL> select object_name, original_name, type, createtime, droptime
     from   user_recyclebin;
OBJECT_NAME                    ORIGINAL_NAME      TYPE    CREATETIME          DROPTIME
------------------------------ ----------------   ------  ------------------- --------
----------- 
BIN$0+ktoVCgEmXgNAAADiUEHQ==$0 TEST               TABLE   2004-02-21:19:04:03 2004-02-
21:19:04:41
BIN$0+ktoVChEmXgNAAADiUEHQ==$0 TEST               TABLE   2004-02-21:19:07:33 2004-02-
21:19:08:17

SQL> show recyclebin
ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
---------------- ------------------------------ ------------ -------------------
TEST             BIN$0+ktoVChEmXgNAAADiUEHQ==$0 TABLE        2004-02-21:19:08:17
TEST             BIN$0+ktoVCgEmXgNAAADiUEHQ==$0 TABLE        2004-02-21:19:04:41

 

 

 

   

OracleŽ is the registered trademark of Oracle Corporation. SQL ServerŽ is the registered trademark of Microsoft Corporation.
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks