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 the Difference Between DB Mirroring and Log Shipping in S ...

What is the Difference Between VARCHAR and VARCHAR(MAX) Datatypes ...

Where are SQL Server Usernames and Passwords Stored in the SQL Se ...

What is Change Data Capture in SQL Server ?

What is the Difference Between Clustered and a Non-clustered Inde ...