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

What is TABLESAMPLE in SQL Server ?

Disable All Triggers in MS SQL Server Table

Generating Random Letters in MS SQL

How to Restart SQL Server in Single-User Mode ?

What is the XML Datatype in SQL Server ?