DROP TABLE
Usage
DROP TABLE <dwh_schema_name>.<table_name> ;;DROP TABLE <datasource_name>.<table_name> ;;Examples
1. dwhスキーマのテーブルをDrop:
DROP TABLE dwh.test_table ;;2. データソースのテーブルをDrop:
DROP TABLE test_tables_pg.test_table_ds ;;DROP TABLE IF EXISTS
Usage
DROP TABLE IF EXISTS <dwh_schema_name>.<table_name> ;; DROP TABLE IF EXISTS <datasource_name>.<table_name> ;;このプロシージャが存在しない場合、警告は表示されず、Server は静かに実行します。
Examples
1. dwhスキーマのテーブルをDrop:
DROP TABLE if exists "dwh.testtable2" ;;2. データソースのTableをDropします:
DROP TABLE if exists test_tables_pg.test_table_ds ;;