该语句用于删除放在回收站的表。
PURGE TABLE object_name;
参数 |
描述 |
---|---|
object_name |
对象进入回收站后的新名字 |
obclient>CREATE TABLE test(c1 INT);
Query OK, 0 rows affected (0.16 sec)
obclient>DROP TABLE test;
Query OK, 0 rows affected (0.03 sec)
obclient>SHOW RECYCLEBIN;
+-------------------------------------------+---------------+-------+----------------------------+
| OBJECT_NAME | ORIGINAL_NAME | TYPE | CREATETIME |
+-------------------------------------------+---------------+-------+----------------------------+
| RECYCLE_$_2_1615971441068848 | TEST | TABLE | 17-MAR-21 04.57.21.068968 PM |
+-------------------------------------------+---------------+-------+----------------------------+
1 row in set (0.02 sec)
obclient>PURGE TABLE RECYCLE_$_2_1615971441068848;
Query OK, 0 rows affected (0.04 sec)
CharSequencepublic interface CharSequenceCharSequence 是一个可读的 char 值序列。 此接口提供对许多不同类型的字符序列的统...
Enumjava.lang.Object |---java.lang.EnumEpublic abstract class EnumE extends EnumEextends Objectimplements ComparableE, S...
ThreadLocaljava.lang.Object |---java.lang.ThreadLocalTpublic class ThreadLocalTextends Object此类提供线程局部变量。 这些...
ExceptionInInitializerErrorjava.lang.Object |---java.lang.Throwable |---|---java.lang.Error |---|---|---java.lang.Linkag...