Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
viswanathan
Starting Member
2 Posts |
Posted - 2005-05-12 : 01:13:33
|
| Hi there,I have been using merge replication with pull subscription. I managed to add a constraint using the following steps and schema changes were taken place at the publisher, but when i do syncronization at the subscriber, it does not sync,instead it gives en error. I have even re-initialized the subscription, still it does not work. Is anyone out there to give me a solution. Your help would really be appreciated. Thanks in advance.steps, that i have used to create a constraint on the published table is given below.a. Open Notepadb. Paste the following Transact – SQL Commandalter table <PublishedTableName> add constraint <ConstraintName>goc.Save the files as addConstraint.sqld. use <PublicationDatabase> go sp_addscriptexec @publication = <PublicationDatabase>, @scriptfile = <path of addConstraint.sql> goError that i have encountered at the subscriber when i syncronize is given belowThe schema script '0\\machinename\repldata\20050506184002630\addConstraint.sql could not propagateCheersVisuC. ViswanathanKaveri infosysshivani - Block 1, II floor40 ECR, Road Thiuvanmiyur, Chennai- 600 041. |
|
|
|
|
|