SQL Flow Field Guide

DROP RULE

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

removes a legacy bound object

What changes

Input
catalog
Output or change
bound default or rule object (deprecated)

Syntax at a glance

DROP RULE [ IF EXISTS ] { [ schema_name . ] rule_name } [ , ...n ] [ ; ]

Work example

A legacy bound rule is removed after columns gain CHECK constraints.

Inventory every rule binding and compare accepted values with the replacement constraints.

Check your work No column or alias type still depends on the rule.

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