Steps to perform Transactional Replication for tables with no primary key

How do I perform transactional replication for table with no primary key?
more ▼

asked Jul 31 '12 at 04:54 PM in Default

Chitrarekha gravatar image

140 30 40 43

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

You don't.

Transactional replication cannot be performed on tables without primary keys.

Either add a primary key or use snapshot replication.
more ▼

answered Jul 31 '12 at 05:20 PM

SirSQL gravatar image

4.8k 1 3

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Jul 31 '12 at 04:54 PM

Seen: 559 times

Last Updated: Jul 31 '12 at 05:20 PM