Hi, I'm new to SQL*Server and implementing Transactional Replication. The active production database is in Sql Server 6 to be upgraded to Sql Server 2000 @ Windows 2003 with Transactional Replication feature. The plan is to build a new server, create the database using scripts from the production, create all the objects (tables, indexes etc) using scripts from the production, insert data using import/export from prodcution, then implement 'Transactional Replication' and perform testing. I've got a problem while implementing replication: some of the tables in the production environment dont have Primary key columns and I suppose Transactional Replication is not possible without all tables having primary key. To get around this, I added a dummy column to the target tables(tables without primary keys) with IDENTITY feeature and marked them as a primary key. But came across another problem that some tables already having identity column and that too with some repeated values in them!!! So I can neither add another Identity column nor mark them as primary key. Please suggest or show me alternate way around. - Is it possible to implement Transactional Replication with some table without primary keys? - How can I add a primary key column to the existing tables without suffering the application & codes? - Is there anything like auto updateable primary key column that wont ask the application forit's corresponding values? The objective is to come out of this constraint of primary key and implement the Replication successfully. Thanks & Regards
Don't see what you're looking for? Try a search.
|