DROP DEFAULT
removes a legacy bound object
What changes
- Input
- catalog
- Output or change
- bound default or rule object (deprecated)
Syntax at a glance
DROP DEFAULT [ IF EXISTS ] { [ schema_name . ] default_name } [ ,...n ] [ ; ]
Work example
A legacy standalone default is being removed after bound columns gain DEFAULT constraints.
List every binding and compare insert behavior before removing the old default.
Check your work Each former consumer retains the intended value through its column constraint.
Open Microsoft Learn for full syntax, permissions, and details for your version.