云数据库 GAUSSDB-步骤8:清除资源:删除外表和目标表

时间:2024-01-23 20:09:22

删除外表和目标表

  1. 执行以下命令,删除目标表product_info。

    1
    postgres=# DROP TABLE product_info;
    

    当结果显示为如下信息,则表示删除成功。

    1
    DROP TABLE
    

  2. 执行以下命令,删除外表product_info_ext。

    1
    postgres=# DROP FOREIGN TABLE product_info_ext;
    

    当结果显示为如下信息,则表示删除成功。

    1
    DROP FOREIGN TABLE
    

support.huaweicloud.com/devg-v1-gaussdb/gaussdb_devg_0104.html