PostgreSQL Drop Table
$count++; if($count == 1) { #include "../mobilemenu.php"; } if ($count == 2) { include "../sharemediasubfolder.php"; } ?>
DROP Table command is used to remove a table from PostgreSQL Database.
For example:
DROP TABLE PLANET;
Please be informed that before you drop table, you must remove all dependent objects.
cosmos=# DROP TABLE PLANET;
ERROR: cannot drop table planet because other objects depend on it
DETAIL: view milkywayplanets depends on table planet
HINT: Use DROP ... CASCADE to drop the dependent objects too.
cosmos=# DROP VIEW MILKYWAYPLANETS
cosmos-# ;
DROP VIEW
cosmos=# DROP TABLE PLANET;
DROP TABLE