[SOLVED] [SQLSERVER] The object ‘DF__’ is dependent on column

If you try to do 

ALTER TABLE yourtable DROP COLUMN "PESO";

you have the error 

The object 'DF__UTENTE_ORG__PESO__6225902D' is dependent on column

To solve

ALTER TABLE yourtable DROP CONSTRAINT "DF__UTENTE_ORG__PESO__6225902D"


Source: [SOLVED] [SQLSERVER] The object ‘DF__’ is dependent on column

Leave a Reply

Your email address will not be published. Required fields are marked *