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

时间:2023-11-15 14:50:41

删除外表和目标表

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

    1
    openGauss=# DROP TABLE product_info;
    

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

    1
    DROP TABLE
    

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

    1
    openGauss=# DROP FOREIGN TABLE product_info_ext;
    

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

    1
    DROP FOREIGN TABLE
    

support.huaweicloud.com/distributed-devg-v2-gaussdb/gaussdb_v5r2c10_0103.html