public function DatabaseSchema_sqlsrv::dropTable in Drupal driver for SQL Server and SQL Azure 7.2
Same name and namespace in other branches
- 7.3 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::dropTable()
- 7 sqlsrv/schema.inc \DatabaseSchema_sqlsrv::dropTable()
Override DatabaseSchema::dropTable().
@status tested
Overrides DatabaseSchema::dropTable
File
- sqlsrv/
schema.inc, line 975 - Database schema code for Microsoft SQL Server database servers.
Class
Code
public function dropTable($table) {
if (!$this
->tableExists($table, TRUE)) {
return FALSE;
}
$this->connection
->query_direct('DROP TABLE {' . $table . '}');
fastcache::cache_clear_all('*', 'tableExists', TRUE);
return TRUE;
}