SQL Flow Field Guide

DROP TABLE

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

drops the table (IF EXISTS optional)

What changes

Input
catalog
Output or change
table and all its rows removed

Syntax at a glance

DROP TABLE [ IF EXISTS ] { database_name.schema_name.table_name | schema_name.table_name | table_name } [ ,...n ] [ ; ]

Work example

A table is approved for removal after its data and callers move.

Check foreign keys, views, triggers, jobs, retention, backup, and data-owner approval before scheduling.

Check your work The archive is verified and no deployed query or constraint depends on the table.

Open Microsoft Learn for full syntax, permissions, and details for your version.