Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to stop replication in sql server 2012 because when I wont to add column in students table this message is appear

'Students' table
- Unable to modify table.  
It is invalid to drop the default constraint on the rowguid column that is used by merge replication.
The schema change failed during execution of an internal replication procedure. For corrective action, see the other error messages that accompany this error message.
The transaction ended in the trigger. The batch has been aborted.


What I have tried:

'Students' table
- Unable to modify table.  
It is invalid to drop the default constraint on the rowguid column that is used by merge replication.
The schema change failed during execution of an internal replication procedure. For corrective action, see the other error messages that accompany this error message.
The transaction ended in the trigger. The batch has been aborted.
Posted
Updated 1-May-17 23:30pm

1 solution

You don't want to stop replication!
See here: can't add new column to table in replication[^]
 
Share this answer
 
Comments
NebroProg 2-May-17 5:43am    
It's not work
NebroProg 11-May-17 5:08am    
I found the solution ^^
sp_removedbreplication 'DBName'

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900