Regarding P2P transactional replication - MS SQL server 2008

We are facing below error while configuring PUBLICATION on PROD (SQL 2008) server (P2P TRANSACTIONAL REPLICATION).

"This table cannot be published because it does not have a primary key column. Primary key columns are required for all tables in transactional publications."

In PROD server, some tables doesn't have primary key values and because of this we are facing above error.

Just I want to know from MS SQL experts, is there any other alternative solution for publishing tables that doesn't have primary key columns in P2P TRANSACTIONAL REPLICATION.

I believe using merge replication we can achieve above goal but is it possible using P2P transactional replication?

Please share your comments on the same.
sg05121983Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nishant joshiTechnology Development ConsultantCommented:
every replication works with primary key and it's required first while adding article to replication.you need to create primary key of you want to use replication.


Nishant
0
DcpKingCommented:
So far as I know you need to declare a primary key, so that the DBMS can identify records to replicate etc. I don't believe that there's any other way of doing it!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eugene ZCommented:
snapshot replication for the pk-less tables
the rest , with pk can be used in trans replication
0
sg05121983Author Commented:
--
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.