Replication without Primary Key?

I need to do replication (from sql 2000 server to sql 2005 server) on a table that doesn't have a primary key/unique Id.  However, the table is a third party system table used by a program that I don't have any control over.  Is there a way to replicate without adding an id column to the table?  I'm afraid that if I add a column, it is going to cause problems with the program.  Thanks!
LVL 1
CMCONEAsked:
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.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
no, that is not possible.
you will need to "replicate" on a copy of the table (and do the changes to that table some other way), or "replicate" without the sql server replication.
0
CMCONEAuthor Commented:
Is there a way to create a view on the table and add the id to the view?  Grasping at straws with that, I know.
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>Is there a way to create a view on the table and add the id to the view?
that would mean, generate on-the-fly a primary key value, which would potentially change every time you run the query...

no, you need to have this primary key column persistent somehow...
0
Maxi84Commented:
You could create a new table that replicates the structure of the 3rd party table + a primary key.  Insert the data from your 3rd party system into that table and then writie some logic that periodically compares the data in your table against the 3rd party data, and do inserts/updates/deletes as needed.
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
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.