db_drop_table

6 database.mysql-common.inc db_drop_table(&$ret, $table)
6 database.pgsql.inc db_drop_table(&$ret, $table)
7 database.inc db_drop_table($table)
8 database.inc db_drop_table($table)

Drop a table.

Parameters

$ret: Array to which query results will be added.

$table: The table to be dropped.

Related topics

136 functions call db_drop_table()

File

drupal/includes/database.pgsql.inc, line 640
Database interface code for PostgreSQL database servers.

Code

<?php
function db_drop_table(&$ret, $table) {
  $ret[] = update_sql('DROP TABLE {' . $table . '}');
}
?>