I am trying to do this:
ALTER TABLE CompanyTransactions DROP COLUMN Created
But I get this:
Msg 5074, Level 16, Stat
As already written in answers you need to drop constraints (created automatically by sql) related to all columns that you are trying to delete.
Perform followings steps to do the needful.
exec sp_helpconstraint '' alter table
drop constraint (It'll be something like this only or similar format)Alter table Drop column column1, column2 etc