add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
3 rows affected
DoingStuffID TaskText
1 Who Cares
2 Not today
3 Not sure
Modify the table's column TaskText to allow varchar(50)

DoingStuffID TaskText
1 Who Cares
2 Not today
3 Not sure
Modify the table's column TaskText to varchar(40)

Msg 5074 Level 16 State 1 Line 1
The statistics 'BreakingStuff' is dependent on column 'TaskText'.
Msg 4922 Level 16 State 9 Line 1
ALTER TABLE ALTER COLUMN TaskText failed because one or more objects access this column.
DoingStuffID TaskText
1 Who Cares
2 Not today
3 Not sure
Drop Statistics and then modify the table's column TaskText to varchar(40)

DoingStuffID TaskText
1 Who Cares
2 Not today
3 Not sure