TomBarrand
Programmer
I am trying to change the datatype of a column using the following syntax:
ALTER TABLE Purch_Ord_Line
ALTER COLUMN Items_Per_Container int
Go
I get the following error:
Server: Msg 5074, Level 16, State 1, Line 3
The object 'DF_Purch_Ord_Line_Items_Per_Container' is dependent on column 'Items_Per_Container'.
Server: Msg 4922, Level 16, State 1, Line 3
ALTER TABLE ALTER COLUMN Items_Per_Container failed because one or more objects access this column.
What does this mean?
Cheers
ALTER TABLE Purch_Ord_Line
ALTER COLUMN Items_Per_Container int
Go
I get the following error:
Server: Msg 5074, Level 16, State 1, Line 3
The object 'DF_Purch_Ord_Line_Items_Per_Container' is dependent on column 'Items_Per_Container'.
Server: Msg 4922, Level 16, State 1, Line 3
ALTER TABLE ALTER COLUMN Items_Per_Container failed because one or more objects access this column.
What does this mean?
Cheers