DropGeometryTable — 刪除資料表及其在 geometry_columns 中的所有參考。
boolean DropGeometryTable(
varchar table_name)
;
boolean DropGeometryTable(
varchar schema_name, varchar table_name)
;
boolean DropGeometryTable(
varchar catalog_name, varchar schema_name, varchar table_name)
;
刪除資料表及其在 geometry_columns 中的所有參考。注意:如果在 schema-aware pgsql 安裝中未提供 schema,則使用 current_schema()。
![]() |
|
變更:2.0.0 此函式是為了向後相容性而提供。現在 geometry_columns 是一個針對系統目錄的檢視表,你可以像使用 |
SELECT DropGeometryTable ('my_schema','my_spatial_table'); ----RESULT output --- my_schema.my_spatial_table dropped. -- The above is now equivalent to -- DROP TABLE my_schema.my_spatial_table;