function dba_drop_table in Database Administration 5
Drop table and all contents from current database.
Related topics
1 call to dba_drop_table()
File
- ./
dba.module, line 1491 - Allows administrators direct access to their Drupal database. Written by Jeremy Andrews <jeremy@kerneltrap.org>, June 2004. PostgreSQL functionality provided by AAM <aam@ugpl.de> Major security audit, porting, and maintenance by Derek…
Code
function dba_drop_table($table) {
$query = "DROP TABLE {$table};";
drupal_set_message(check_plain($query));
return db_query($query);
}