Thanks for response. The unique contraints I mention here are not key
values. The are simply constraints, which become indexes at the sunscriber,
on non primary key fields. This is why I thought it would be better to
P.S. I can't tell you how much of a help your SQL 2000 replication book has
been to me. Thanks!
"Hilary Cotter" wrote:
> Either modify your insert logic to do an existence check before doing the
> insert, or use the continue on data consistency error. Note that you have to
> be a little careful here otherwise your reporting database will get quite
> out of sync. Basically the same insert or an insert with the same key value
> is coming across twice. If it is the same row you are ok, if it has the same
> key data, but different non key values, you have to ensure that this meets
> your business case as you will be throwing away the new values.
>
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
>
http://www.nwsu.com/0974973602.html >
> Looking for a FAQ on Indexing Services/SQL FTS
>
http://www.indexserverfaq.com >
> "mrprice" <mrprice@discussions.microsoft.com> wrote in message
> news:B83C7C10-7F7A-48E4-9FCE-254160971E68@microsoft.com...
> > We're using transactional replication to create two databases, one for
> > transactional data, and one for reporting data. In the transactional
> > database we will allow data purging via a stored proc. We will not
> > replicate
> > the deletes caused by the purge stored proc to the reporting database.
> > This
> > has already been tested and it works fine. However, we do have an issue
> > with
> > various unique constraints in the reporting database causing replication
> > to
> > fail because duplicate data is allowed in the transactional database
> > because
> > of purging.
> >
> > Is it standard practice to just remove all the unique constraints from the
> > reporting database after the snapshot has been completed? Is there a way
> > to
> > not bring unique constraints over in the snapshot to begin with?
> >
> > Thanks,
> > Mark
> >
>
>