DEFAULT
select sql = 'alter table [dbo].[' + p.name + '] drop constraint [' + o.name + ']' from sys.objects o inner join sys.objects p on o.parent_object_id = p.object_id where 1=1 and o.type = 'D'
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.