drop table (minimum)

Description

Removes a table definition and all of its data, indexes, triggers, and permissions from the database.

Syntax

Transact-SQL Syntax

drop table [[database.]owner.]table_name
[, [[database.]owner.]table_name]...

ODBC Syntax

DROP TABLE base_table_name
[CASCADE|RESTRICT]

Parameters

table_name

is the name of the table to be dropped.

Examples

Example 1

drop table authors

Usage