Please help me out with a problem I am facing.
I have a table T
. I altered the table to alter the column C
from varchar(10)
to varchar(100)
.
Now, there is a view V
that is schema bound and selects columns from T
. So before altering T
, I had to drop the view V
.
Steps I followed:
- Drop view V;
- Alter T alter C varchar(100);
- (re)create V.
Error I am facing:
Replication-Replication Distribution Subsystem: agent XXX failed. The object 'V' is dependent on column 'C'. I performed the changes in Preprod environment. Table T is in replication.
I want to know:
- How to fix this error
- what did I do wrong?