I need to modify the column type of a client table, however this change will be done through a program written in VB.Net and therefore needs to be done via SQL command.
The issue is that when using the command:
ALTER TABLE Customer ALTER COLUMN COLUNA int;
I get the following message:
The object 'DF__Tmp_Customer__Coluna__15BB0E23' is dependent on column 'Coluna'.
Msg 4922, Level 16, State 9, Line 1
ALTER TABLE ALTER COLUMN Coluna failed because one or more objects access this column.
I can not apply any changes to the column in question at all ...