Strange result when dropping table in SQL

66 views Asked by At

When I drop the table in SQL I get a strange result. My table was not dropped but shows:

BIN$0X1RWoaWQlSLcefLZbH5jA==$0 TABLE

What is this? How can I delete the table?

1

There are 1 answers

1
Mureinik On

Since Oracle 10g the database has a recycle bin containing the information of dropped tables. When you drop a table it's not really dropped, just registered in the recycle bin (instead of as a "regular" table) with a BIN$ prefix and an auto-generated hash.

Once you're sure you application works properly and you really don't need this table anymore, you can get rid of it completely by using the purge command:

PURGE TABLE BIN$0X1RWoaWQlSLcefLZbH5jA==$0