I am trying to increase a column length from char(5) to char(10) using
ALTER TABLE [dbo].[tablename] ALTER COLUMN [colname] [char] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
It gives me error ... ALTER COLUMN failed because one or more objects access this column
There are some indexes and views that reference this col. Do I need to drop and re-create the indexes and views? Is that the only way. The view is created using 'WITH SCHEMABINDING'.