Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

SQL Server 2012 Replication

$
0
0

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:

  1. Drop view V;
  2. Alter T alter C varchar(100);
  3. (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:

  1. How to fix this error
  2. what did I do wrong?

Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>