Deleting Table With Query in MS SQL

The following method is used to delete (drop) a table by writing a query in MS SQL.

DROP TABLE {Table Name}

You have to be careful when using this type of query! Because by running this query, everything including the definition of the table, all data, indexes, triggers and constraints will be removed.

An example of usage is as follows..

DROP TABLE TBL_PERSON_INFO


You May Interest

Getting the Id of MS SQL Server Last Entered Record

Deleting Columns From a Table with a Query in MS SQL

Using MS SQL TOP

What are OFFLINE Datafiles with SQL Server ?

What are Replication and Database Mirroring in SQL Server ?