描述

该语句用于查看回收站中的内容。

格式

  1. SHOW RECYCLEBIN;

参数解释

无。

示例

  • 查看回收站中的内容。
  1. OceanBase(admin@test)> create table t1(c1 int);
  2. Query OK, 0 rows affected (0.24 sec)
  3. OceanBase(admin@test)> drop table t1;
  4. Query OK, 0 rows affected (0.07 sec)
  5. OceanBase(admin@test)> show recyclebin;
  6. +-------------------------------------------+---------------+-------+----------------------------+
  7. | OBJECT_NAME | ORIGINAL_NAME | TYPE | CREATETIME |
  8. +-------------------------------------------+---------------+-------+----------------------------+
  9. | __recycle_$_1_1099511628776_1099511677777 | t1 | TABLE | 2017-10-20 17:27:40.881506 |
  10. +-------------------------------------------+---------------+-------+----------------------------+
  11. 1 row in set (0.02 sec)