How can I delete a table from a database?
thanks for any help![]()
| SitePoint Sponsor |





How can I delete a table from a database?
thanks for any help![]()

Use the DROP Table command
If you want to delete only the records but keep the table, then
else, if you really want to get rid of the table itself (along with all records),Code:DELETE FROM tablename;
Just make sure this is what you want before actually doing itCode:DROP TABLE tablename;![]()
DROP TABLE <Name>;
Be careful
<edit>
Oh man, how many other people can reply in the time it takes me to write "Drop Table"?![]()
</edit>





Hehe thanks for the help.
Bookmarks